{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\swhitt\Desktop\SMS Revision 2\Final Version\SMS replication log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}31 Mar 2022, 10:27:08

{com}. do "C:\Users\swhitt\Desktop\SMS Revision 2\Final Version\SMS replication dofile.do"
{txt}
{com}. *Manuscript Replication Instructions
. 
. *Manuscript text replication 
. 
. *Data were collected in Baghdad between December 17-26, 2019, with a total of 301 respondents. Approximately half (54%) were sampled at Baghdad’s Tahrir Square, including the symbolic epicenter of the protest movement, a large bombed-out building known locally as the “Turkish Restaurant” (MacDonald 2019). The remaining respondents were sampled in other active protest locations to include Sadr City, New Baghdad, Dora, Al-Wahda and Karada districts (see SI Appendix for map and sampling demographics).
. 
. tab date

     {txt}3.date {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
 12/17/2019 {c |}{res}        100       33.22       33.22
{txt} 12/18/2019 {c |}{res}         64       21.26       54.49
{txt} 12/19/2019 {c |}{res}         25        8.31       62.79
{txt} 12/20/2019 {c |}{res}         30        9.97       72.76
{txt} 12/21/2019 {c |}{res}         25        8.31       81.06
{txt} 12/22/2019 {c |}{res}         24        7.97       89.04
{txt} 12/24/2019 {c |}{res}         18        5.98       95.02
{txt} 12/26/2019 {c |}{res}         15        4.98      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        301      100.00
{txt}
{com}. tab locale

     {txt}4. Location {c |}      Freq.     Percent        Cum.
{hline 17}{c +}{hline 35}
        Al Dawra {c |}{res}         25        8.31        8.31
{txt}    Sahat Nahtha {c |}{res}         24        7.97       16.28
{txt}       Al Karada {c |}{res}         25        8.31       24.58
{txt}    Madena Sadir {c |}{res}         30        9.97       34.55
{txt}    Sahat Tahrir {c |}{res}        114       37.87       72.43
{txt}    Turkish Rest {c |}{res}         50       16.61       89.04
{txt}    Sahat Wathba {c |}{res}         18        5.98       95.02
{txt}Baghdad al jdeda {c |}{res}         15        4.98      100.00
{txt}{hline 17}{c +}{hline 35}
           Total {c |}{res}        301      100.00
{txt}
{com}. 
. *At the end of the survey, 92% of respondents indicated that they had felt entirely or mostly comfortable with all the questions we asked. Similarly, the enumerators reported that they felt safe when conducting this study in the field 98% of the time in post-questionnaire response items.
. 
. tab comfortable

    {txt}50.comfortable with {c |}
          questionnaire {c |}      Freq.     Percent        Cum.
{hline 24}{c +}{hline 35}
   entirely comfortable {c |}{res}        201       66.78       66.78
{txt}     mostly comfortable {c |}{res}         75       24.92       91.69
{txt} somewhat uncomfortable {c |}{res}         23        7.64       99.34
{txt}generally uncomfortable {c |}{res}          2        0.66      100.00
{txt}{hline 24}{c +}{hline 35}
                  Total {c |}{res}        301      100.00
{txt}
{com}. tab s3

{txt}S3 safety level {c |}      Freq.     Percent        Cum.
{hline 16}{c +}{hline 35}
      very safe {c |}{res}        196       65.12       65.12
{txt}  somewhat safe {c |}{res}        100       33.22       98.34
{txt}somewhat unsafe {c |}{res}          5        1.66      100.00
{txt}{hline 16}{c +}{hline 35}
          Total {c |}{res}        301      100.00
{txt}
{com}. 
. *Factor analysis indicates that responses to these items align clearly on a single dimension capturing a latent variable, which we combine into a continuous index of protest commitment (Cronbach’s alpha = 0.73).
. 
. *alpha negotiate concede meetdemands, gen(endurance) (note: this variable already generated)
. alpha negotiate concede meetdemands

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .1948173
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.7319
{txt}
{com}. 
. *We combine all items into a single continuous index (Cronbach’s alpha =0.86) where non-violent self-discipline increases with index values.
. 
. *alpha harsharrest beating gas rubberbullets killing, gen(alphaviolencejust) (note: this variable already generated)
. alpha harsharrest beating gas rubberbullets killing

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .2760233
{txt}Number of items in the scale:{col 34}{res}        5
{txt}Scale reliability coefficient:{col 34}{res}   0.8635
{txt}
{com}. 
. *Figure 1
. 
. kdensity endurance
{res}{txt}
{com}. graph save g1, replace
{res}{txt}(file g1.gph saved)

{com}. kdensity alphaviolencejust
{res}{txt}
{com}. graph save g2, replace
{res}{txt}(file g2.gph saved)

{com}. graph combine g1.gph g2.gph
{res}{txt}
{com}. *(Note: table requires additional labeling and formatting)
. 
. *The average number days protesting was 17.3 (+/- 11.6 days) and ranged from 2 to 60 days.
. 
. sum protestdays

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}protestdays {c |}{res}        291    17.29897    11.61316          2         60
{txt}
{com}. 
. *Before 2019, 63% reported no prior protest experience, 29% had attended 1-2 prior protests, and fewer than 7% had attended 3 or more protests.
. 
. sum pastprotest

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}pastprotest {c |}{res}        301    .6079734    .9656446          0          4
{txt}
{com}. 
. *Nearly 45% choose an allocation that reflected a bias in favor of a co-religious group over an out-group (or for Christians, a bias in favor of one out-group over another). The remaining 55% allocated money equally between the two individuals.
. 
. *gen sectarianism=1 if dgsunni>2000 & religion==1
. *replace sectarianism=1 if dgsunni<2000 & religion==2 | religion==3
. *replace sectarianism=0 if sectarianism==. (note: this variable already generated)
. 
. tab sectarianism

 {txt}23. recode {c |}
         1= {c |}
  sectarian {c |}
       bias {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        168       55.81       55.81
{txt}          1 {c |}{res}        133       44.19      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        301      100.00
{txt}
{com}. 
. *Almost everyone in the sample (99%) had at least one additional associational membership other than the protest movement itself, which included regular mosque attendance or other religious organizations, political parties, political organizations, as well as labor unions and professional associations.
. 
. *gen networks =  mosque + religiousgroup + party + polorg + security + union (note: this variable already generated)
. 
. tab networks

{txt}29. recode. {c |}
   Index of {c |}
   networks {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          1        0.33        0.33
{txt}          1 {c |}{res}        294       97.67       98.01
{txt}          2 {c |}{res}          6        1.99      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        301      100.00
{txt}
{com}. 
. *Table 1
. 
. reg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(24, 266)        =  {res}     7.10
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3062
                                                {txt}Root MSE          =    {res} .45375

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0031844{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0018628{col 70}{space 3} .0144025
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0398707{col 40}{space 1}    2.90{col 49}{space 3}0.004{col 57}{space 4} .0371166{col 70}{space 3} .1941212
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0519423{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0302095{col 70}{space 3}   .23475
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0673828{col 40}{space 1}    1.78{col 49}{space 3}0.076{col 57}{space 4}-.0126989{col 70}{space 3} .2526441
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .1348112{col 40}{space 1}    1.18{col 49}{space 3}0.241{col 57}{space 4}-.1069554{col 70}{space 3} .4239103
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .1466588{col 40}{space 1}    0.32{col 49}{space 3}0.749{col 57}{space 4}-.2417473{col 70}{space 3} .3357723
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .1327785{col 40}{space 1}    1.31{col 49}{space 3}0.192{col 57}{space 4}-.0876697{col 70}{space 3} .4351915
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0599541{col 40}{space 1}    0.31{col 49}{space 3}0.758{col 57}{space 4} -.099582{col 70}{space 3} .1365081
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2} .0042417{col 40}{space 1}    0.83{col 49}{space 3}0.409{col 57}{space 4}-.0048476{col 70}{space 3} .0118557
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2} .0646922{col 40}{space 1}   -1.47{col 49}{space 3}0.142{col 57}{space 4}-.2226631{col 70}{space 3} .0320848
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .1222427{col 40}{space 1}   -0.06{col 49}{space 3}0.951{col 57}{space 4}-.2481569{col 70}{space 3}  .233216
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .1151854{col 40}{space 1}   -1.04{col 49}{space 3}0.299{col 57}{space 4}-.3466543{col 70}{space 3}  .106928
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .1177715{col 40}{space 1}   -1.36{col 49}{space 3}0.174{col 57}{space 4}-.3923317{col 70}{space 3}  .071434
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0393401{col 40}{space 1}   -1.12{col 49}{space 3}0.264{col 57}{space 4}-.1214566{col 70}{space 3} .0334588
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0716792{col 40}{space 1}    0.21{col 49}{space 3}0.836{col 57}{space 4}-.1263181{col 70}{space 3} .1559435
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0727742{col 40}{space 1}   -1.74{col 49}{space 3}0.082{col 57}{space 4}-.2702585{col 70}{space 3} .0163149
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .1455096{col 40}{space 1}   -0.00{col 49}{space 3}0.998{col 57}{space 4}-.2868573{col 70}{space 3} .2861369
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1800961{col 40}{space 1}   -1.58{col 49}{space 3}0.115{col 57}{space 4}-.6394178{col 70}{space 3} .0697728
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .0960514{col 40}{space 1}   -1.89{col 49}{space 3}0.060{col 57}{space 4}-.3708905{col 70}{space 3} .0073451
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0814559{col 40}{space 1}    0.71{col 49}{space 3}0.478{col 57}{space 4}-.1025515{col 70}{space 3} .2182092
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0814206{col 40}{space 1}    0.52{col 49}{space 3}0.603{col 57}{space 4}-.1178672{col 70}{space 3} .2027546
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1309951{col 40}{space 1}   -0.15{col 49}{space 3}0.881{col 57}{space 4}-.2775979{col 70}{space 3} .2382405
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0537631{col 40}{space 1}    0.78{col 49}{space 3}0.439{col 57}{space 4}-.0641751{col 70}{space 3} .1475355
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0606977{col 40}{space 1}   -1.32{col 49}{space 3}0.188{col 57}{space 4}-.1996839{col 70}{space 3} .0393344
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2}  .442083{col 40}{space 1}    5.83{col 49}{space 3}0.000{col 57}{space 4} 1.709079{col 70}{space 3} 3.449933
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. reg alphaviolencejust endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(25, 265)        =  {res}     3.24
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1982
                                                {txt}Root MSE          =    {res} .53725

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}alphaviolence~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}endurance {c |}{col 17}{res}{space 2} .1398491{col 29}{space 2} .0570969{col 40}{space 1}    2.45{col 49}{space 3}0.015{col 57}{space 4} .0274278{col 70}{space 3} .2522703
{txt}{space 4}protestdays {c |}{col 17}{res}{space 2} .0082985{col 29}{space 2} .0032655{col 40}{space 1}    2.54{col 49}{space 3}0.012{col 57}{space 4} .0018688{col 70}{space 3} .0147282
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1381566{col 29}{space 2} .0370083{col 40}{space 1}    3.73{col 49}{space 3}0.000{col 57}{space 4} .0652889{col 70}{space 3} .2110244
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .0885292{col 29}{space 2} .0748867{col 40}{space 1}    1.18{col 49}{space 3}0.238{col 57}{space 4}-.0589193{col 70}{space 3} .2359777
{txt}revclosebaghdad {c |}{col 17}{res}{space 2}-.0700032{col 29}{space 2} .0582493{col 40}{space 1}   -1.20{col 49}{space 3}0.231{col 57}{space 4}-.1846936{col 70}{space 3} .0446872
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2}-.6576434{col 29}{space 2} .2575356{col 40}{space 1}   -2.55{col 49}{space 3}0.011{col 57}{space 4} -1.16472{col 70}{space 3}-.1505672
{txt}{space 8}injured {c |}{col 17}{res}{space 2}-.6913867{col 29}{space 2} .2690686{col 40}{space 1}   -2.57{col 49}{space 3}0.011{col 57}{space 4}-1.221171{col 70}{space 3}-.1616024
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2}-.7724539{col 29}{space 2} .2619534{col 40}{space 1}   -2.95{col 49}{space 3}0.003{col 57}{space 4}-1.288229{col 70}{space 3}-.2566792
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0327993{col 29}{space 2} .0814972{col 40}{space 1}   -0.40{col 49}{space 3}0.688{col 57}{space 4}-.1932638{col 70}{space 3} .1276652
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0019368{col 29}{space 2} .0064683{col 40}{space 1}    0.30{col 49}{space 3}0.765{col 57}{space 4} -.010799{col 70}{space 3} .0146725
{txt}{space 6}education {c |}{col 17}{res}{space 2} .0642097{col 29}{space 2} .0892304{col 40}{space 1}    0.72{col 49}{space 3}0.472{col 57}{space 4} -.111481{col 70}{space 3} .2399005
{txt}{space 8}student {c |}{col 17}{res}{space 2} .1514413{col 29}{space 2} .1112009{col 40}{space 1}    1.36{col 49}{space 3}0.174{col 57}{space 4}-.0675084{col 70}{space 3}  .370391
{txt}{space 8}laborer {c |}{col 17}{res}{space 2} .2158639{col 29}{space 2} .1339182{col 40}{space 1}    1.61{col 49}{space 3}0.108{col 57}{space 4}-.0478152{col 70}{space 3} .4795431
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}  .117678{col 29}{space 2} .1477721{col 40}{space 1}    0.80{col 49}{space 3}0.427{col 57}{space 4}-.1732789{col 70}{space 3} .4086349
{txt}{space 9}income {c |}{col 17}{res}{space 2} .0509961{col 29}{space 2} .0565795{col 40}{space 1}    0.90{col 49}{space 3}0.368{col 57}{space 4}-.0604065{col 70}{space 3} .1623986
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .1678356{col 29}{space 2} .0668503{col 40}{space 1}    2.51{col 49}{space 3}0.013{col 57}{space 4} .0362103{col 70}{space 3} .2994609
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.0773509{col 29}{space 2}   .06114{col 40}{space 1}   -1.27{col 49}{space 3}0.207{col 57}{space 4}-.1977329{col 70}{space 3}  .043031
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.2508139{col 29}{space 2} .1516514{col 40}{space 1}   -1.65{col 49}{space 3}0.099{col 57}{space 4}-.5494089{col 70}{space 3} .0477811
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2} .0787921{col 29}{space 2} .1039463{col 40}{space 1}    0.76{col 49}{space 3}0.449{col 57}{space 4}-.1258736{col 70}{space 3} .2834579
{txt}{space 10}party {c |}{col 17}{res}{space 2} .0438592{col 29}{space 2}  .079091{col 40}{space 1}    0.55{col 49}{space 3}0.580{col 57}{space 4}-.1118675{col 70}{space 3} .1995859
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1124486{col 29}{space 2} .0823545{col 40}{space 1}    1.37{col 49}{space 3}0.173{col 57}{space 4}-.0497038{col 70}{space 3} .2746011
{txt}{space 7}security {c |}{col 17}{res}{space 2}-.1809321{col 29}{space 2} .1283342{col 40}{space 1}   -1.41{col 49}{space 3}0.160{col 57}{space 4}-.4336166{col 70}{space 3} .0717524
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0598348{col 29}{space 2} .1163777{col 40}{space 1}   -0.51{col 49}{space 3}0.608{col 57}{space 4}-.2889775{col 70}{space 3} .1693078
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2}-.0018613{col 29}{space 2} .0618496{col 40}{space 1}   -0.03{col 49}{space 3}0.976{col 57}{space 4}-.1236404{col 70}{space 3} .1199178
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.1259844{col 29}{space 2} .0748056{col 40}{space 1}   -1.68{col 49}{space 3}0.093{col 57}{space 4}-.2732734{col 70}{space 3} .0213047
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 3.087654{col 29}{space 2} .6660963{col 40}{space 1}    4.64{col 49}{space 3}0.000{col 57}{space 4} 1.776139{col 70}{space 3} 4.399168
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Table 2
. 
. reg everyone version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}    39.21
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2251
                                                {txt}Root MSE          =    {res}  .9172

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.3253024{col 35}{space 2} .1584667{col 46}{space 1}   -2.05{col 55}{space 3}0.041{col 63}{space 4}-.6372067{col 76}{space 3}-.0133981
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}  .034505{col 35}{space 2}  .005855{col 46}{space 1}    5.89{col 55}{space 3}0.000{col 63}{space 4} .0229809{col 76}{space 3} .0460292
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0153473{col 35}{space 2} .0081315{col 46}{space 1}    1.89{col 55}{space 3}0.060{col 63}{space 4}-.0006577{col 76}{space 3} .0313523
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 1.669679{col 35}{space 2} .1227176{col 46}{space 1}   13.61{col 55}{space 3}0.000{col 63}{space 4} 1.428138{col 76}{space 3} 1.911219
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg everyone version##c.protestdays alphaviolencejust, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(4, 286)         =  {res}    33.84
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2495
                                                {txt}Root MSE          =    {res} .90419

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.2742732{col 35}{space 2} .1614339{col 46}{space 1}   -1.70{col 55}{space 3}0.090{col 63}{space 4}-.5920225{col 76}{space 3} .0434761
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0345884{col 35}{space 2} .0059893{col 46}{space 1}    5.78{col 55}{space 3}0.000{col 63}{space 4} .0227998{col 76}{space 3}  .046377
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0118027{col 35}{space 2} .0081968{col 46}{space 1}    1.44{col 55}{space 3}0.151{col 63}{space 4} -.004331{col 76}{space 3} .0279365
{txt}{space 21} {c |}
{space 4}alphaviolencejust {c |}{col 23}{res}{space 2} .2864571{col 35}{space 2} .0870099{col 46}{space 1}    3.29{col 55}{space 3}0.001{col 63}{space 4} .1151962{col 76}{space 3}  .457718
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} .7182089{col 35}{space 2} .3168406{col 46}{space 1}    2.27{col 55}{space 3}0.024{col 63}{space 4} .0945737{col 76}{space 3} 1.341844
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Online Appendix Replication Instructions
. 
. *Protest Commitment Index Construction
. 
. factor negotiate concede meetdemands
{txt}(obs=301)

Factor analysis/correlation{col 50}Number of obs    = {res}       301
{col 5}{txt}Method: principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       3

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.32692      1.38923            1.2796       1.2796
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.06231      0.16534           -0.0601       1.2195
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}     -0.22765            .           -0.2195       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}3{txt})  ={res}  212.28{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:negotiate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6131}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6241}}}{space 1}
{space 4}{space 0}{ralign 12:concede}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7509}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4362}}}{space 1}
{space 4}{space 0}{ralign 12:meetdemands}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6223}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6127}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. 
. histogram negotiate, discrete percent addlabels
{txt}(start={res}1{txt}, width={res}1{txt})
{res}{txt}
{com}. graph save g3, replace
{res}{txt}(file g3.gph saved)

{com}. histogram concede, discrete percent addlabels
{txt}(start={res}1{txt}, width={res}1{txt})
{res}{txt}
{com}. graph save g4, replace
{res}{txt}(file g4.gph saved)

{com}. histogram meetdemands, discrete percent addlabels
{txt}(start={res}1{txt}, width={res}1{txt})
{res}{txt}
{com}. graph save g5, replace
{res}{txt}(file g5.gph saved)

{com}. kdensity endurance
{res}{txt}
{com}. graph save g6, replace
{res}{txt}(file g6.gph saved)

{com}. graph combine g3.gph g4.gph g5.gph g6.gph
{res}{txt}
{com}. *(Note: table requires additional labeling and formatting)
. 
. *Manuscript Table 1
. 
. reg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(24, 266)        =  {res}     7.10
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3062
                                                {txt}Root MSE          =    {res} .45375

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0031844{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0018628{col 70}{space 3} .0144025
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0398707{col 40}{space 1}    2.90{col 49}{space 3}0.004{col 57}{space 4} .0371166{col 70}{space 3} .1941212
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0519423{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0302095{col 70}{space 3}   .23475
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0673828{col 40}{space 1}    1.78{col 49}{space 3}0.076{col 57}{space 4}-.0126989{col 70}{space 3} .2526441
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .1348112{col 40}{space 1}    1.18{col 49}{space 3}0.241{col 57}{space 4}-.1069554{col 70}{space 3} .4239103
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .1466588{col 40}{space 1}    0.32{col 49}{space 3}0.749{col 57}{space 4}-.2417473{col 70}{space 3} .3357723
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .1327785{col 40}{space 1}    1.31{col 49}{space 3}0.192{col 57}{space 4}-.0876697{col 70}{space 3} .4351915
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0599541{col 40}{space 1}    0.31{col 49}{space 3}0.758{col 57}{space 4} -.099582{col 70}{space 3} .1365081
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2} .0042417{col 40}{space 1}    0.83{col 49}{space 3}0.409{col 57}{space 4}-.0048476{col 70}{space 3} .0118557
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2} .0646922{col 40}{space 1}   -1.47{col 49}{space 3}0.142{col 57}{space 4}-.2226631{col 70}{space 3} .0320848
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .1222427{col 40}{space 1}   -0.06{col 49}{space 3}0.951{col 57}{space 4}-.2481569{col 70}{space 3}  .233216
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .1151854{col 40}{space 1}   -1.04{col 49}{space 3}0.299{col 57}{space 4}-.3466543{col 70}{space 3}  .106928
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .1177715{col 40}{space 1}   -1.36{col 49}{space 3}0.174{col 57}{space 4}-.3923317{col 70}{space 3}  .071434
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0393401{col 40}{space 1}   -1.12{col 49}{space 3}0.264{col 57}{space 4}-.1214566{col 70}{space 3} .0334588
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0716792{col 40}{space 1}    0.21{col 49}{space 3}0.836{col 57}{space 4}-.1263181{col 70}{space 3} .1559435
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0727742{col 40}{space 1}   -1.74{col 49}{space 3}0.082{col 57}{space 4}-.2702585{col 70}{space 3} .0163149
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .1455096{col 40}{space 1}   -0.00{col 49}{space 3}0.998{col 57}{space 4}-.2868573{col 70}{space 3} .2861369
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1800961{col 40}{space 1}   -1.58{col 49}{space 3}0.115{col 57}{space 4}-.6394178{col 70}{space 3} .0697728
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .0960514{col 40}{space 1}   -1.89{col 49}{space 3}0.060{col 57}{space 4}-.3708905{col 70}{space 3} .0073451
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0814559{col 40}{space 1}    0.71{col 49}{space 3}0.478{col 57}{space 4}-.1025515{col 70}{space 3} .2182092
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0814206{col 40}{space 1}    0.52{col 49}{space 3}0.603{col 57}{space 4}-.1178672{col 70}{space 3} .2027546
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1309951{col 40}{space 1}   -0.15{col 49}{space 3}0.881{col 57}{space 4}-.2775979{col 70}{space 3} .2382405
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0537631{col 40}{space 1}    0.78{col 49}{space 3}0.439{col 57}{space 4}-.0641751{col 70}{space 3} .1475355
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0606977{col 40}{space 1}   -1.32{col 49}{space 3}0.188{col 57}{space 4}-.1996839{col 70}{space 3} .0393344
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2}  .442083{col 40}{space 1}    5.83{col 49}{space 3}0.000{col 57}{space 4} 1.709079{col 70}{space 3} 3.449933
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. reg alphaviolencejust endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(25, 265)        =  {res}     3.24
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1982
                                                {txt}Root MSE          =    {res} .53725

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}alphaviolence~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}endurance {c |}{col 17}{res}{space 2} .1398491{col 29}{space 2} .0570969{col 40}{space 1}    2.45{col 49}{space 3}0.015{col 57}{space 4} .0274278{col 70}{space 3} .2522703
{txt}{space 4}protestdays {c |}{col 17}{res}{space 2} .0082985{col 29}{space 2} .0032655{col 40}{space 1}    2.54{col 49}{space 3}0.012{col 57}{space 4} .0018688{col 70}{space 3} .0147282
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1381566{col 29}{space 2} .0370083{col 40}{space 1}    3.73{col 49}{space 3}0.000{col 57}{space 4} .0652889{col 70}{space 3} .2110244
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .0885292{col 29}{space 2} .0748867{col 40}{space 1}    1.18{col 49}{space 3}0.238{col 57}{space 4}-.0589193{col 70}{space 3} .2359777
{txt}revclosebaghdad {c |}{col 17}{res}{space 2}-.0700032{col 29}{space 2} .0582493{col 40}{space 1}   -1.20{col 49}{space 3}0.231{col 57}{space 4}-.1846936{col 70}{space 3} .0446872
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2}-.6576434{col 29}{space 2} .2575356{col 40}{space 1}   -2.55{col 49}{space 3}0.011{col 57}{space 4} -1.16472{col 70}{space 3}-.1505672
{txt}{space 8}injured {c |}{col 17}{res}{space 2}-.6913867{col 29}{space 2} .2690686{col 40}{space 1}   -2.57{col 49}{space 3}0.011{col 57}{space 4}-1.221171{col 70}{space 3}-.1616024
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2}-.7724539{col 29}{space 2} .2619534{col 40}{space 1}   -2.95{col 49}{space 3}0.003{col 57}{space 4}-1.288229{col 70}{space 3}-.2566792
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0327993{col 29}{space 2} .0814972{col 40}{space 1}   -0.40{col 49}{space 3}0.688{col 57}{space 4}-.1932638{col 70}{space 3} .1276652
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0019368{col 29}{space 2} .0064683{col 40}{space 1}    0.30{col 49}{space 3}0.765{col 57}{space 4} -.010799{col 70}{space 3} .0146725
{txt}{space 6}education {c |}{col 17}{res}{space 2} .0642097{col 29}{space 2} .0892304{col 40}{space 1}    0.72{col 49}{space 3}0.472{col 57}{space 4} -.111481{col 70}{space 3} .2399005
{txt}{space 8}student {c |}{col 17}{res}{space 2} .1514413{col 29}{space 2} .1112009{col 40}{space 1}    1.36{col 49}{space 3}0.174{col 57}{space 4}-.0675084{col 70}{space 3}  .370391
{txt}{space 8}laborer {c |}{col 17}{res}{space 2} .2158639{col 29}{space 2} .1339182{col 40}{space 1}    1.61{col 49}{space 3}0.108{col 57}{space 4}-.0478152{col 70}{space 3} .4795431
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}  .117678{col 29}{space 2} .1477721{col 40}{space 1}    0.80{col 49}{space 3}0.427{col 57}{space 4}-.1732789{col 70}{space 3} .4086349
{txt}{space 9}income {c |}{col 17}{res}{space 2} .0509961{col 29}{space 2} .0565795{col 40}{space 1}    0.90{col 49}{space 3}0.368{col 57}{space 4}-.0604065{col 70}{space 3} .1623986
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .1678356{col 29}{space 2} .0668503{col 40}{space 1}    2.51{col 49}{space 3}0.013{col 57}{space 4} .0362103{col 70}{space 3} .2994609
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.0773509{col 29}{space 2}   .06114{col 40}{space 1}   -1.27{col 49}{space 3}0.207{col 57}{space 4}-.1977329{col 70}{space 3}  .043031
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.2508139{col 29}{space 2} .1516514{col 40}{space 1}   -1.65{col 49}{space 3}0.099{col 57}{space 4}-.5494089{col 70}{space 3} .0477811
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2} .0787921{col 29}{space 2} .1039463{col 40}{space 1}    0.76{col 49}{space 3}0.449{col 57}{space 4}-.1258736{col 70}{space 3} .2834579
{txt}{space 10}party {c |}{col 17}{res}{space 2} .0438592{col 29}{space 2}  .079091{col 40}{space 1}    0.55{col 49}{space 3}0.580{col 57}{space 4}-.1118675{col 70}{space 3} .1995859
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1124486{col 29}{space 2} .0823545{col 40}{space 1}    1.37{col 49}{space 3}0.173{col 57}{space 4}-.0497038{col 70}{space 3} .2746011
{txt}{space 7}security {c |}{col 17}{res}{space 2}-.1809321{col 29}{space 2} .1283342{col 40}{space 1}   -1.41{col 49}{space 3}0.160{col 57}{space 4}-.4336166{col 70}{space 3} .0717524
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0598348{col 29}{space 2} .1163777{col 40}{space 1}   -0.51{col 49}{space 3}0.608{col 57}{space 4}-.2889775{col 70}{space 3} .1693078
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2}-.0018613{col 29}{space 2} .0618496{col 40}{space 1}   -0.03{col 49}{space 3}0.976{col 57}{space 4}-.1236404{col 70}{space 3} .1199178
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.1259844{col 29}{space 2} .0748056{col 40}{space 1}   -1.68{col 49}{space 3}0.093{col 57}{space 4}-.2732734{col 70}{space 3} .0213047
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 3.087654{col 29}{space 2} .6660963{col 40}{space 1}    4.64{col 49}{space 3}0.000{col 57}{space 4} 1.776139{col 70}{space 3} 4.399168
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Manuscript Table 1 Robustness Checks
. 
. reg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(24, 266)        =  {res}     7.10
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3062
                                                {txt}Root MSE          =    {res} .45375

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0031844{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0018628{col 70}{space 3} .0144025
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0398707{col 40}{space 1}    2.90{col 49}{space 3}0.004{col 57}{space 4} .0371166{col 70}{space 3} .1941212
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0519423{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0302095{col 70}{space 3}   .23475
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0673828{col 40}{space 1}    1.78{col 49}{space 3}0.076{col 57}{space 4}-.0126989{col 70}{space 3} .2526441
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .1348112{col 40}{space 1}    1.18{col 49}{space 3}0.241{col 57}{space 4}-.1069554{col 70}{space 3} .4239103
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .1466588{col 40}{space 1}    0.32{col 49}{space 3}0.749{col 57}{space 4}-.2417473{col 70}{space 3} .3357723
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .1327785{col 40}{space 1}    1.31{col 49}{space 3}0.192{col 57}{space 4}-.0876697{col 70}{space 3} .4351915
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0599541{col 40}{space 1}    0.31{col 49}{space 3}0.758{col 57}{space 4} -.099582{col 70}{space 3} .1365081
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2} .0042417{col 40}{space 1}    0.83{col 49}{space 3}0.409{col 57}{space 4}-.0048476{col 70}{space 3} .0118557
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2} .0646922{col 40}{space 1}   -1.47{col 49}{space 3}0.142{col 57}{space 4}-.2226631{col 70}{space 3} .0320848
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .1222427{col 40}{space 1}   -0.06{col 49}{space 3}0.951{col 57}{space 4}-.2481569{col 70}{space 3}  .233216
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .1151854{col 40}{space 1}   -1.04{col 49}{space 3}0.299{col 57}{space 4}-.3466543{col 70}{space 3}  .106928
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .1177715{col 40}{space 1}   -1.36{col 49}{space 3}0.174{col 57}{space 4}-.3923317{col 70}{space 3}  .071434
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0393401{col 40}{space 1}   -1.12{col 49}{space 3}0.264{col 57}{space 4}-.1214566{col 70}{space 3} .0334588
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0716792{col 40}{space 1}    0.21{col 49}{space 3}0.836{col 57}{space 4}-.1263181{col 70}{space 3} .1559435
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0727742{col 40}{space 1}   -1.74{col 49}{space 3}0.082{col 57}{space 4}-.2702585{col 70}{space 3} .0163149
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .1455096{col 40}{space 1}   -0.00{col 49}{space 3}0.998{col 57}{space 4}-.2868573{col 70}{space 3} .2861369
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1800961{col 40}{space 1}   -1.58{col 49}{space 3}0.115{col 57}{space 4}-.6394178{col 70}{space 3} .0697728
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .0960514{col 40}{space 1}   -1.89{col 49}{space 3}0.060{col 57}{space 4}-.3708905{col 70}{space 3} .0073451
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0814559{col 40}{space 1}    0.71{col 49}{space 3}0.478{col 57}{space 4}-.1025515{col 70}{space 3} .2182092
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0814206{col 40}{space 1}    0.52{col 49}{space 3}0.603{col 57}{space 4}-.1178672{col 70}{space 3} .2027546
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1309951{col 40}{space 1}   -0.15{col 49}{space 3}0.881{col 57}{space 4}-.2775979{col 70}{space 3} .2382405
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0537631{col 40}{space 1}    0.78{col 49}{space 3}0.439{col 57}{space 4}-.0641751{col 70}{space 3} .1475355
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0606977{col 40}{space 1}   -1.32{col 49}{space 3}0.188{col 57}{space 4}-.1996839{col 70}{space 3} .0393344
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2}  .442083{col 40}{space 1}    5.83{col 49}{space 3}0.000{col 57}{space 4} 1.709079{col 70}{space 3} 3.449933
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. reg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, cluster(locale)

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}{help j_robustsingular:F(6, 7) }          =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.3062
                                                {txt}Root MSE          =    {res} .45375

{txt}{ralign 81:(Std. Err. adjusted for {res:8} clusters in locale)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0022916{col 40}{space 1}    3.55{col 49}{space 3}0.009{col 57}{space 4} .0027138{col 70}{space 3} .0135514
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0287285{col 40}{space 1}    4.02{col 49}{space 3}0.005{col 57}{space 4} .0476867{col 70}{space 3} .1835511
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0229492{col 40}{space 1}    5.77{col 49}{space 3}0.001{col 57}{space 4} .0782135{col 70}{space 3}  .186746
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0649024{col 40}{space 1}    1.85{col 49}{space 3}0.107{col 57}{space 4}-.0334972{col 70}{space 3} .2734424
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .0902684{col 40}{space 1}    1.76{col 49}{space 3}0.123{col 57}{space 4}-.0549734{col 70}{space 3} .3719283
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .0806302{col 40}{space 1}    0.58{col 49}{space 3}0.578{col 57}{space 4}-.1436476{col 70}{space 3} .2376727
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .0554524{col 40}{space 1}    3.13{col 49}{space 3}0.017{col 57}{space 4} .0426368{col 70}{space 3}  .304885
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0477634{col 40}{space 1}    0.39{col 49}{space 3}0.711{col 57}{space 4}-.0944794{col 70}{space 3} .1314055
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2}  .003075{col 40}{space 1}    1.14{col 49}{space 3}0.292{col 57}{space 4} -.003767{col 70}{space 3} .0107752
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2}  .032018{col 40}{space 1}   -2.98{col 49}{space 3}0.021{col 57}{space 4}-.1709998{col 70}{space 3}-.0195785
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .0840903{col 40}{space 1}   -0.09{col 49}{space 3}0.932{col 57}{space 4}-.2063126{col 70}{space 3} .1913716
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .0851739{col 40}{space 1}   -1.41{col 49}{space 3}0.202{col 57}{space 4}-.3212673{col 70}{space 3}  .081541
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .0282898{col 40}{space 1}   -5.67{col 49}{space 3}0.001{col 57}{space 4}-.2273435{col 70}{space 3}-.0935542
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0399655{col 40}{space 1}   -1.10{col 49}{space 3}0.307{col 57}{space 4}-.1385023{col 70}{space 3} .0505045
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0785833{col 40}{space 1}    0.19{col 49}{space 3}0.856{col 57}{space 4}-.1710072{col 70}{space 3} .2006326
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0445158{col 40}{space 1}   -2.85{col 49}{space 3}0.025{col 57}{space 4}-.2322351{col 70}{space 3}-.0217086
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .0733474{col 40}{space 1}   -0.00{col 49}{space 3}0.996{col 57}{space 4}-.1737993{col 70}{space 3} .1730789
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1082842{col 40}{space 1}   -2.63{col 49}{space 3}0.034{col 57}{space 4} -.540874{col 70}{space 3} -.028771
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .1090558{col 40}{space 1}   -1.67{col 49}{space 3}0.139{col 57}{space 4}-.4396488{col 70}{space 3} .0761033
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0460447{col 40}{space 1}    1.26{col 49}{space 3}0.249{col 57}{space 4}-.0510495{col 70}{space 3} .1667072
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0656329{col 40}{space 1}    0.65{col 49}{space 3}0.538{col 57}{space 4}-.1127535{col 70}{space 3} .1976409
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1337956{col 40}{space 1}   -0.15{col 49}{space 3}0.887{col 57}{space 4}-.3360551{col 70}{space 3} .2966977
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0617348{col 40}{space 1}    0.68{col 49}{space 3}0.521{col 57}{space 4}-.1042993{col 70}{space 3} .1876597
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0716485{col 40}{space 1}   -1.12{col 49}{space 3}0.300{col 57}{space 4}-.2495966{col 70}{space 3} .0892471
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2} .1712949{col 40}{space 1}   15.06{col 49}{space 3}0.000{col 57}{space 4} 2.174458{col 70}{space 3} 2.984554
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. xtset locale
{txt}{col 8}panel variable:  {res}locale (unbalanced)
{txt}
{com}. 
. xtreg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, cluster(locale)
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}       291
{txt}Group variable: {res}locale                          {txt}Number of groups  = {res}         8

{txt}R-sq:                                           Obs per group:
     within  = {res}0.2459                                         {txt}min = {res}        15
{txt}     between = {res}0.8887                                         {txt}avg = {res}      36.4
{txt}     overall = {res}0.3062                                         {txt}max = {res}       107

                                                {txt}{help j_robustsingular##|_new:Wald chi2(7)}{col 67}={col 70}{res}        .
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}     .

{txt}{ralign 81:(Std. Err. adjusted for {res:8} clusters in locale)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0022916{col 40}{space 1}    3.55{col 49}{space 3}0.000{col 57}{space 4} .0036412{col 70}{space 3} .0126241
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0287285{col 40}{space 1}    4.02{col 49}{space 3}0.000{col 57}{space 4}  .059312{col 70}{space 3} .1719258
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0229492{col 40}{space 1}    5.77{col 49}{space 3}0.000{col 57}{space 4} .0875001{col 70}{space 3} .1774594
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0649024{col 40}{space 1}    1.85{col 49}{space 3}0.065{col 57}{space 4}-.0072338{col 70}{space 3} .2471789
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .0902684{col 40}{space 1}    1.76{col 49}{space 3}0.079{col 57}{space 4}-.0184454{col 70}{space 3} .3354003
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .0806302{col 40}{space 1}    0.58{col 49}{space 3}0.560{col 57}{space 4}-.1110197{col 70}{space 3} .2050448
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .0554524{col 40}{space 1}    3.13{col 49}{space 3}0.002{col 57}{space 4} .0650762{col 70}{space 3} .2824456
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0477634{col 40}{space 1}    0.39{col 49}{space 3}0.699{col 57}{space 4}-.0751515{col 70}{space 3} .1120776
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2}  .003075{col 40}{space 1}    1.14{col 49}{space 3}0.254{col 57}{space 4}-.0025227{col 70}{space 3} .0095309
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2}  .032018{col 40}{space 1}   -2.98{col 49}{space 3}0.003{col 57}{space 4}-.1580434{col 70}{space 3}-.0325349
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .0840903{col 40}{space 1}   -0.09{col 49}{space 3}0.929{col 57}{space 4}-.1722845{col 70}{space 3} .1573436
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .0851739{col 40}{space 1}   -1.41{col 49}{space 3}0.159{col 57}{space 4}-.2868009{col 70}{space 3} .0470745
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .0282898{col 40}{space 1}   -5.67{col 49}{space 3}0.000{col 57}{space 4}-.2158957{col 70}{space 3} -.105002
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0399655{col 40}{space 1}   -1.10{col 49}{space 3}0.271{col 57}{space 4}-.1223298{col 70}{space 3} .0343321
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0785833{col 40}{space 1}    0.19{col 49}{space 3}0.850{col 57}{space 4}-.1392077{col 70}{space 3} .1688331
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0445158{col 40}{space 1}   -2.85{col 49}{space 3}0.004{col 57}{space 4}-.2142213{col 70}{space 3}-.0397224
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .0733474{col 40}{space 1}   -0.00{col 49}{space 3}0.996{col 57}{space 4}-.1441185{col 70}{space 3} .1433981
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1082842{col 40}{space 1}   -2.63{col 49}{space 3}0.009{col 57}{space 4}-.4970557{col 70}{space 3}-.0725893
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .1090558{col 40}{space 1}   -1.67{col 49}{space 3}0.096{col 57}{space 4}-.3955182{col 70}{space 3} .0319728
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0460447{col 40}{space 1}    1.26{col 49}{space 3}0.209{col 57}{space 4} -.032417{col 70}{space 3} .1480748
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0656329{col 40}{space 1}    0.65{col 49}{space 3}0.518{col 57}{space 4}-.0861944{col 70}{space 3} .1710819
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1337956{col 40}{space 1}   -0.15{col 49}{space 3}0.883{col 57}{space 4}-.2819133{col 70}{space 3} .2425559
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0617348{col 40}{space 1}    0.68{col 49}{space 3}0.500{col 57}{space 4}-.0793177{col 70}{space 3} .1626781
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0716485{col 40}{space 1}   -1.12{col 49}{space 3}0.263{col 57}{space 4}-.2206033{col 70}{space 3} .0602538
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2} .1712949{col 40}{space 1}   15.06{col 49}{space 3}0.000{col 57}{space 4} 2.243774{col 70}{space 3} 2.915238
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res}         0
        {txt}sigma_e {c |} {res} .44531375
            {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

{com}. 
. oprobit endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-500.78956}  
Iteration 1:{space 3}log pseudolikelihood = {res:-446.52599}  
Iteration 2:{space 3}log pseudolikelihood = {res:-446.08226}  
Iteration 3:{space 3}log pseudolikelihood = {res:-446.08095}  
Iteration 4:{space 3}log pseudolikelihood = {res:-446.08095}  
{res}
{txt}Ordered probit regression{col 49}Number of obs{col 67}= {res}       291
{txt}{col 49}Wald chi2({res}24{txt}){col 67}= {res}    138.54
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-446.08095{txt}{col 49}Pseudo R2{col 67}= {res}    0.1092

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2}  .019575{col 29}{space 2} .0065699{col 40}{space 1}    2.98{col 49}{space 3}0.003{col 57}{space 4} .0066982{col 70}{space 3} .0324518
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .2798601{col 29}{space 2} .0936462{col 40}{space 1}    2.99{col 49}{space 3}0.003{col 57}{space 4}  .096317{col 70}{space 3} .4634032
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2}  .376696{col 29}{space 2} .1271583{col 40}{space 1}    2.96{col 49}{space 3}0.003{col 57}{space 4} .1274702{col 70}{space 3} .6259217
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .2395829{col 29}{space 2} .1406704{col 40}{space 1}    1.70{col 49}{space 3}0.089{col 57}{space 4}-.0361261{col 70}{space 3} .5152919
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .4317356{col 29}{space 2} .3108343{col 40}{space 1}    1.39{col 49}{space 3}0.165{col 57}{space 4}-.1774884{col 70}{space 3}  1.04096
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .1458647{col 29}{space 2} .3290865{col 40}{space 1}    0.44{col 49}{space 3}0.658{col 57}{space 4} -.499133{col 70}{space 3} .7908624
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .4095371{col 29}{space 2} .3081048{col 40}{space 1}    1.33{col 49}{space 3}0.184{col 57}{space 4}-.1943372{col 70}{space 3} 1.013411
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0628518{col 29}{space 2} .1466351{col 40}{space 1}    0.43{col 49}{space 3}0.668{col 57}{space 4}-.2245478{col 70}{space 3} .3502514
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0088105{col 29}{space 2}  .010083{col 40}{space 1}    0.87{col 49}{space 3}0.382{col 57}{space 4}-.0109518{col 70}{space 3} .0285728
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.2934594{col 29}{space 2} .1438788{col 40}{space 1}   -2.04{col 49}{space 3}0.041{col 57}{space 4}-.5754567{col 70}{space 3}-.0114621
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0519923{col 29}{space 2} .2625975{col 40}{space 1}   -0.20{col 49}{space 3}0.843{col 57}{space 4} -.566674{col 70}{space 3} .4626893
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.3032205{col 29}{space 2} .2396701{col 40}{space 1}   -1.27{col 49}{space 3}0.206{col 57}{space 4}-.7729653{col 70}{space 3} .1665242
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.5024005{col 29}{space 2}  .256987{col 40}{space 1}   -1.95{col 49}{space 3}0.051{col 57}{space 4}-1.006086{col 70}{space 3} .0012848
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0920906{col 29}{space 2} .0915074{col 40}{space 1}   -1.01{col 49}{space 3}0.314{col 57}{space 4}-.2714418{col 70}{space 3} .0872606
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0666641{col 29}{space 2} .1733733{col 40}{space 1}    0.38{col 49}{space 3}0.701{col 57}{space 4}-.2731413{col 70}{space 3} .4064696
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.3094687{col 29}{space 2} .1750775{col 40}{space 1}   -1.77{col 49}{space 3}0.077{col 57}{space 4}-.6526143{col 70}{space 3} .0336769
{txt}{space 9}mosque {c |}{col 17}{res}{space 2} .0341867{col 29}{space 2} .3306553{col 40}{space 1}    0.10{col 49}{space 3}0.918{col 57}{space 4}-.6138858{col 70}{space 3} .6822591
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.5852705{col 29}{space 2} .3402155{col 40}{space 1}   -1.72{col 49}{space 3}0.085{col 57}{space 4}-1.252081{col 70}{space 3} .0815396
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.5554425{col 29}{space 2} .2336567{col 40}{space 1}   -2.38{col 49}{space 3}0.017{col 57}{space 4}-1.013401{col 70}{space 3}-.0974838
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1006147{col 29}{space 2} .1927458{col 40}{space 1}    0.52{col 49}{space 3}0.602{col 57}{space 4}-.2771602{col 70}{space 3} .4783896
{txt}{space 7}security {c |}{col 17}{res}{space 2} .1118858{col 29}{space 2} .2035583{col 40}{space 1}    0.55{col 49}{space 3}0.583{col 57}{space 4}-.2870811{col 70}{space 3} .5108527
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}   .02794{col 29}{space 2} .3078549{col 40}{space 1}    0.09{col 49}{space 3}0.928{col 57}{space 4}-.5754445{col 70}{space 3} .6313246
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .1421122{col 29}{space 2} .1195702{col 40}{space 1}    1.19{col 49}{space 3}0.235{col 57}{space 4}-.0922411{col 70}{space 3} .3764655
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.2467821{col 29}{space 2} .1410906{col 40}{space 1}   -1.75{col 49}{space 3}0.080{col 57}{space 4}-.5233146{col 70}{space 3} .0297505
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}/cut1 {c |}{col 17}{res}{space 2}-1.702876{col 29}{space 2} 1.059312{col 57}{space 4}-3.779089{col 70}{space 3} .3733379
{txt}{space 10}/cut2 {c |}{col 17}{res}{space 2}-1.548604{col 29}{space 2} 1.029115{col 57}{space 4}-3.565632{col 70}{space 3} .4684238
{txt}{space 10}/cut3 {c |}{col 17}{res}{space 2}-1.374651{col 29}{space 2} 1.016639{col 57}{space 4}-3.367227{col 70}{space 3} .6179235
{txt}{space 10}/cut4 {c |}{col 17}{res}{space 2}-.5653665{col 29}{space 2} 1.008474{col 57}{space 4} -2.54194{col 70}{space 3} 1.411207
{txt}{space 10}/cut5 {c |}{col 17}{res}{space 2} .5906683{col 29}{space 2} 1.003716{col 57}{space 4}-1.376579{col 70}{space 3} 2.557916
{txt}{space 10}/cut6 {c |}{col 17}{res}{space 2} 1.498885{col 29}{space 2} 1.008991{col 57}{space 4}-.4787019{col 70}{space 3} 3.476472
{txt}{space 10}/cut7 {c |}{col 17}{res}{space 2} 2.140484{col 29}{space 2} .9944213{col 57}{space 4} .1914537{col 70}{space 3} 4.089514
{txt}{space 10}/cut8 {c |}{col 17}{res}{space 2} 2.676239{col 29}{space 2} .9832537{col 57}{space 4} .7490969{col 70}{space 3} 4.603381
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. oprobit endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, cluster(locale)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-500.78956}  
Iteration 1:{space 3}log pseudolikelihood = {res:-446.52599}  
Iteration 2:{space 3}log pseudolikelihood = {res:-446.08226}  
Iteration 3:{space 3}log pseudolikelihood = {res:-446.08095}  
Iteration 4:{space 3}log pseudolikelihood = {res:-446.08095}  
{res}
{txt}Ordered probit regression{col 49}Number of obs{col 67}= {res}       291
{txt}{col 49}{help j_robustsingular##|_new:Wald chi2(1)}{col 67}=          {res}.
{txt}{col 49}Prob > chi2{col 67}=          {res}.
{txt}Log pseudolikelihood = {res}-446.08095{txt}{col 49}Pseudo R2{col 67}= {res}    0.1092

{txt}{ralign 81:(Std. Err. adjusted for {res:8} clusters in locale)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2}  .019575{col 29}{space 2} .0053337{col 40}{space 1}    3.67{col 49}{space 3}0.000{col 57}{space 4} .0091211{col 70}{space 3} .0300288
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .2798601{col 29}{space 2} .0703848{col 40}{space 1}    3.98{col 49}{space 3}0.000{col 57}{space 4} .1419084{col 70}{space 3} .4178118
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2}  .376696{col 29}{space 2} .0737553{col 40}{space 1}    5.11{col 49}{space 3}0.000{col 57}{space 4} .2321383{col 70}{space 3} .5212536
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .2395829{col 29}{space 2} .1422353{col 40}{space 1}    1.68{col 49}{space 3}0.092{col 57}{space 4}-.0391932{col 70}{space 3}  .518359
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .4317356{col 29}{space 2} .2418916{col 40}{space 1}    1.78{col 49}{space 3}0.074{col 57}{space 4}-.0423632{col 70}{space 3} .9058344
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .1458647{col 29}{space 2} .2190037{col 40}{space 1}    0.67{col 49}{space 3}0.505{col 57}{space 4}-.2833747{col 70}{space 3} .5751042
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .4095371{col 29}{space 2} .1787067{col 40}{space 1}    2.29{col 49}{space 3}0.022{col 57}{space 4} .0592785{col 70}{space 3} .7597957
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0628518{col 29}{space 2} .1236533{col 40}{space 1}    0.51{col 49}{space 3}0.611{col 57}{space 4}-.1795042{col 70}{space 3} .3052077
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0088105{col 29}{space 2} .0068976{col 40}{space 1}    1.28{col 49}{space 3}0.201{col 57}{space 4}-.0047085{col 70}{space 3} .0223295
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.2934594{col 29}{space 2} .0799803{col 40}{space 1}   -3.67{col 49}{space 3}0.000{col 57}{space 4}-.4502179{col 70}{space 3}-.1367009
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0519923{col 29}{space 2} .2027353{col 40}{space 1}   -0.26{col 49}{space 3}0.798{col 57}{space 4}-.4493462{col 70}{space 3} .3453615
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.3032205{col 29}{space 2} .1996123{col 40}{space 1}   -1.52{col 49}{space 3}0.129{col 57}{space 4}-.6944534{col 70}{space 3} .0880123
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.5024005{col 29}{space 2} .0893683{col 40}{space 1}   -5.62{col 49}{space 3}0.000{col 57}{space 4}-.6775592{col 70}{space 3}-.3272418
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0920906{col 29}{space 2} .0956319{col 40}{space 1}   -0.96{col 49}{space 3}0.336{col 57}{space 4}-.2795257{col 70}{space 3} .0953445
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0666641{col 29}{space 2}  .189938{col 40}{space 1}    0.35{col 49}{space 3}0.726{col 57}{space 4}-.3056075{col 70}{space 3} .4389358
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.3094687{col 29}{space 2} .0894349{col 40}{space 1}   -3.46{col 49}{space 3}0.001{col 57}{space 4}-.4847579{col 70}{space 3}-.1341795
{txt}{space 9}mosque {c |}{col 17}{res}{space 2} .0341867{col 29}{space 2} .1605179{col 40}{space 1}    0.21{col 49}{space 3}0.831{col 57}{space 4}-.2804226{col 70}{space 3}  .348796
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.5852705{col 29}{space 2}  .233498{col 40}{space 1}   -2.51{col 49}{space 3}0.012{col 57}{space 4}-1.042918{col 70}{space 3}-.1276229
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.5554425{col 29}{space 2} .2605748{col 40}{space 1}   -2.13{col 49}{space 3}0.033{col 57}{space 4} -1.06616{col 70}{space 3}-.0447253
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1006147{col 29}{space 2} .1044987{col 40}{space 1}    0.96{col 49}{space 3}0.336{col 57}{space 4} -.104199{col 70}{space 3} .3054284
{txt}{space 7}security {c |}{col 17}{res}{space 2} .1118858{col 29}{space 2} .1716964{col 40}{space 1}    0.65{col 49}{space 3}0.515{col 57}{space 4} -.224633{col 70}{space 3} .4484046
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}   .02794{col 29}{space 2} .2785843{col 40}{space 1}    0.10{col 49}{space 3}0.920{col 57}{space 4}-.5180751{col 70}{space 3} .5739552
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .1421122{col 29}{space 2} .1575463{col 40}{space 1}    0.90{col 49}{space 3}0.367{col 57}{space 4}-.1666728{col 70}{space 3} .4508972
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.2467821{col 29}{space 2}    .1649{col 40}{space 1}   -1.50{col 49}{space 3}0.135{col 57}{space 4}-.5699801{col 70}{space 3}  .076416
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}/cut1 {c |}{col 17}{res}{space 2}-1.702876{col 29}{space 2} .4160498{col 57}{space 4}-2.518318{col 70}{space 3}-.8874331
{txt}{space 10}/cut2 {c |}{col 17}{res}{space 2}-1.548604{col 29}{space 2} .4447016{col 57}{space 4}-2.420203{col 70}{space 3}-.6770047
{txt}{space 10}/cut3 {c |}{col 17}{res}{space 2}-1.374651{col 29}{space 2} .5032731{col 57}{space 4}-2.361049{col 70}{space 3}-.3882543
{txt}{space 10}/cut4 {c |}{col 17}{res}{space 2}-.5653665{col 29}{space 2} .5293713{col 57}{space 4}-1.602915{col 70}{space 3} .4721821
{txt}{space 10}/cut5 {c |}{col 17}{res}{space 2} .5906683{col 29}{space 2} .4608896{col 57}{space 4}-.3126588{col 70}{space 3} 1.493995
{txt}{space 10}/cut6 {c |}{col 17}{res}{space 2} 1.498885{col 29}{space 2} .4905796{col 57}{space 4} .5373667{col 70}{space 3} 2.460403
{txt}{space 10}/cut7 {c |}{col 17}{res}{space 2} 2.140484{col 29}{space 2} .4969451{col 57}{space 4} 1.166489{col 70}{space 3} 3.114478
{txt}{space 10}/cut8 {c |}{col 17}{res}{space 2} 2.676239{col 29}{space 2} .4007403{col 57}{space 4} 1.890802{col 70}{space 3} 3.461675
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *Tests for Multi-collinearity
. 
. reg endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(24, 266)        =  {res}     7.10
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3062
                                                {txt}Root MSE          =    {res} .45375

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      endurance{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}protestdays {c |}{col 17}{res}{space 2} .0081326{col 29}{space 2} .0031844{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0018628{col 70}{space 3} .0144025
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1156189{col 29}{space 2} .0398707{col 40}{space 1}    2.90{col 49}{space 3}0.004{col 57}{space 4} .0371166{col 70}{space 3} .1941212
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .1324797{col 29}{space 2} .0519423{col 40}{space 1}    2.55{col 49}{space 3}0.011{col 57}{space 4} .0302095{col 70}{space 3}   .23475
{txt}revclosebaghdad {c |}{col 17}{res}{space 2} .1199726{col 29}{space 2} .0673828{col 40}{space 1}    1.78{col 49}{space 3}0.076{col 57}{space 4}-.0126989{col 70}{space 3} .2526441
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2} .1584775{col 29}{space 2} .1348112{col 40}{space 1}    1.18{col 49}{space 3}0.241{col 57}{space 4}-.1069554{col 70}{space 3} .4239103
{txt}{space 8}injured {c |}{col 17}{res}{space 2} .0470125{col 29}{space 2} .1466588{col 40}{space 1}    0.32{col 49}{space 3}0.749{col 57}{space 4}-.2417473{col 70}{space 3} .3357723
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2} .1737609{col 29}{space 2} .1327785{col 40}{space 1}    1.31{col 49}{space 3}0.192{col 57}{space 4}-.0876697{col 70}{space 3} .4351915
{txt}{space 9}female {c |}{col 17}{res}{space 2}  .018463{col 29}{space 2} .0599541{col 40}{space 1}    0.31{col 49}{space 3}0.758{col 57}{space 4} -.099582{col 70}{space 3} .1365081
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0035041{col 29}{space 2} .0042417{col 40}{space 1}    0.83{col 49}{space 3}0.409{col 57}{space 4}-.0048476{col 70}{space 3} .0118557
{txt}{space 6}education {c |}{col 17}{res}{space 2}-.0952892{col 29}{space 2} .0646922{col 40}{space 1}   -1.47{col 49}{space 3}0.142{col 57}{space 4}-.2226631{col 70}{space 3} .0320848
{txt}{space 8}student {c |}{col 17}{res}{space 2}-.0074705{col 29}{space 2} .1222427{col 40}{space 1}   -0.06{col 49}{space 3}0.951{col 57}{space 4}-.2481569{col 70}{space 3}  .233216
{txt}{space 8}laborer {c |}{col 17}{res}{space 2}-.1198632{col 29}{space 2} .1151854{col 40}{space 1}   -1.04{col 49}{space 3}0.299{col 57}{space 4}-.3466543{col 70}{space 3}  .106928
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}-.1604488{col 29}{space 2} .1177715{col 40}{space 1}   -1.36{col 49}{space 3}0.174{col 57}{space 4}-.3923317{col 70}{space 3}  .071434
{txt}{space 9}income {c |}{col 17}{res}{space 2}-.0439989{col 29}{space 2} .0393401{col 40}{space 1}   -1.12{col 49}{space 3}0.264{col 57}{space 4}-.1214566{col 70}{space 3} .0334588
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .0148127{col 29}{space 2} .0716792{col 40}{space 1}    0.21{col 49}{space 3}0.836{col 57}{space 4}-.1263181{col 70}{space 3} .1559435
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.1269718{col 29}{space 2} .0727742{col 40}{space 1}   -1.74{col 49}{space 3}0.082{col 57}{space 4}-.2702585{col 70}{space 3} .0163149
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.0003602{col 29}{space 2} .1455096{col 40}{space 1}   -0.00{col 49}{space 3}0.998{col 57}{space 4}-.2868573{col 70}{space 3} .2861369
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2}-.2848225{col 29}{space 2} .1800961{col 40}{space 1}   -1.58{col 49}{space 3}0.115{col 57}{space 4}-.6394178{col 70}{space 3} .0697728
{txt}{space 10}party {c |}{col 17}{res}{space 2}-.1817727{col 29}{space 2} .0960514{col 40}{space 1}   -1.89{col 49}{space 3}0.060{col 57}{space 4}-.3708905{col 70}{space 3} .0073451
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .0578289{col 29}{space 2} .0814559{col 40}{space 1}    0.71{col 49}{space 3}0.478{col 57}{space 4}-.1025515{col 70}{space 3} .2182092
{txt}{space 7}security {c |}{col 17}{res}{space 2} .0424437{col 29}{space 2} .0814206{col 40}{space 1}    0.52{col 49}{space 3}0.603{col 57}{space 4}-.1178672{col 70}{space 3} .2027546
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0196787{col 29}{space 2} .1309951{col 40}{space 1}   -0.15{col 49}{space 3}0.881{col 57}{space 4}-.2775979{col 70}{space 3} .2382405
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2} .0416802{col 29}{space 2} .0537631{col 40}{space 1}    0.78{col 49}{space 3}0.439{col 57}{space 4}-.0641751{col 70}{space 3} .1475355
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.0801748{col 29}{space 2} .0606977{col 40}{space 1}   -1.32{col 49}{space 3}0.188{col 57}{space 4}-.1996839{col 70}{space 3} .0393344
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2.579506{col 29}{space 2}  .442083{col 40}{space 1}    5.83{col 49}{space 3}0.000{col 57}{space 4} 1.709079{col 70}{space 3} 3.449933
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. vif

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 1}sawviolence {c |} {res}     7.94    0.125892
{txt}friendsinj~d {c |} {res}     6.52    0.153406
{txt}{space 5}injured {c |} {res}     4.43    0.225891
{txt}{space 5}student {c |} {res}     3.14    0.318886
{txt}{space 5}laborer {c |} {res}     2.35    0.424969
{txt}{space 9}age {c |} {res}     2.17    0.460238
{txt}{space 2}unemployed {c |} {res}     2.10    0.476345
{txt}sectarianism {c |} {res}     1.79    0.559084
{txt}{space 3}education {c |} {res}     1.77    0.566523
{txt}{space 7}sunni {c |} {res}     1.76    0.568500
{txt}{space 1}pastprotest {c |} {res}     1.60    0.625741
{txt}{space 6}mosque {c |} {res}     1.58    0.632430
{txt}{space 1}protestdays {c |} {res}     1.56    0.639901
{txt}{space 5}votegov {c |} {res}     1.52    0.656026
{txt}{space 7}party {c |} {res}     1.40    0.713724
{txt}{space 6}polorg {c |} {res}     1.37    0.728235
{txt}{space 3}main_iran {c |} {res}     1.30    0.767371
{txt}{space 6}female {c |} {res}     1.28    0.781687
{txt}{space 6}income {c |} {res}     1.28    0.784198
{txt}religiousg~p {c |} {res}     1.27    0.785132
{txt}{space 4}trustgov {c |} {res}     1.25    0.800871
{txt}{space 4}security {c |} {res}     1.23    0.811331
{txt}revcloseba~d {c |} {res}     1.21    0.826012
{txt}{space 1}socialmedia {c |} {res}     1.20    0.830424
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     2.21
{txt}
{com}. 
. *Correlates of Days Protesting and Past Protest Activity (OLS Regression)
. 
. reg protestdays pastprotest  sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(21, 269)        =  {res}     5.49
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3292
                                                {txt}Root MSE          =    {res} 9.8756

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}   protestdays{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}pastprotest {c |}{col 16}{res}{space 2} 1.625178{col 28}{space 2} .8536475{col 39}{space 1}    1.90{col 48}{space 3}0.058{col 56}{space 4}-.0555022{col 69}{space 3} 3.305858
{txt}{space 3}sawviolence {c |}{col 16}{res}{space 2} 9.372546{col 28}{space 2} 4.609293{col 39}{space 1}    2.03{col 48}{space 3}0.043{col 56}{space 4} .2976687{col 69}{space 3} 18.44742
{txt}{space 7}injured {c |}{col 16}{res}{space 2} 9.885868{col 28}{space 2}  4.53802{col 39}{space 1}    2.18{col 48}{space 3}0.030{col 56}{space 4} .9513142{col 69}{space 3} 18.82042
{txt}friendsinjured {c |}{col 16}{res}{space 2} 8.377567{col 28}{space 2} 4.518524{col 39}{space 1}    1.85{col 48}{space 3}0.065{col 56}{space 4}-.5186029{col 69}{space 3} 17.27374
{txt}{space 8}female {c |}{col 16}{res}{space 2} .7963336{col 28}{space 2} 1.316289{col 39}{space 1}    0.60{col 48}{space 3}0.546{col 56}{space 4}-1.795204{col 69}{space 3} 3.387871
{txt}{space 11}age {c |}{col 16}{res}{space 2} .0814391{col 28}{space 2} .1019985{col 39}{space 1}    0.80{col 48}{space 3}0.425{col 56}{space 4}-.1193778{col 69}{space 3} .2822559
{txt}{space 5}education {c |}{col 16}{res}{space 2}-.7773383{col 28}{space 2} 1.485776{col 39}{space 1}   -0.52{col 48}{space 3}0.601{col 56}{space 4}-3.702566{col 69}{space 3}  2.14789
{txt}{space 7}student {c |}{col 16}{res}{space 2}-1.863959{col 28}{space 2} 2.164936{col 39}{space 1}   -0.86{col 48}{space 3}0.390{col 56}{space 4}-6.126333{col 69}{space 3} 2.398415
{txt}{space 7}laborer {c |}{col 16}{res}{space 2}-.2868106{col 28}{space 2} 2.245967{col 39}{space 1}   -0.13{col 48}{space 3}0.898{col 56}{space 4} -4.70872{col 69}{space 3} 4.135098
{txt}{space 4}unemployed {c |}{col 16}{res}{space 2}-.4933301{col 28}{space 2} 2.420716{col 39}{space 1}   -0.20{col 48}{space 3}0.839{col 56}{space 4} -5.25929{col 69}{space 3}  4.27263
{txt}{space 8}income {c |}{col 16}{res}{space 2}-1.021073{col 28}{space 2} .9265611{col 39}{space 1}   -1.10{col 48}{space 3}0.271{col 56}{space 4}-2.845307{col 69}{space 3} .8031606
{txt}{space 9}sunni {c |}{col 16}{res}{space 2}-2.434452{col 28}{space 2}  1.52861{col 39}{space 1}   -1.59{col 48}{space 3}0.112{col 56}{space 4}-5.444012{col 69}{space 3} .5751089
{txt}{space 2}sectarianism {c |}{col 16}{res}{space 2} 1.953448{col 28}{space 2} 1.395787{col 39}{space 1}    1.40{col 48}{space 3}0.163{col 56}{space 4}-.7946076{col 69}{space 3} 4.701504
{txt}{space 8}mosque {c |}{col 16}{res}{space 2} 11.13658{col 28}{space 2}  3.00437{col 39}{space 1}    3.71{col 48}{space 3}0.000{col 56}{space 4} 5.221516{col 69}{space 3} 17.05165
{txt}religiousgroup {c |}{col 16}{res}{space 2}-2.075395{col 28}{space 2} 2.848613{col 39}{space 1}   -0.73{col 48}{space 3}0.467{col 56}{space 4}-7.683806{col 69}{space 3} 3.533016
{txt}{space 9}party {c |}{col 16}{res}{space 2}-3.328567{col 28}{space 2} 2.055955{col 39}{space 1}   -1.62{col 48}{space 3}0.107{col 56}{space 4}-7.376376{col 69}{space 3} .7192421
{txt}{space 8}polorg {c |}{col 16}{res}{space 2} .4568448{col 28}{space 2} 1.800155{col 39}{space 1}    0.25{col 48}{space 3}0.800{col 56}{space 4}-3.087339{col 69}{space 3} 4.001029
{txt}{space 6}security {c |}{col 16}{res}{space 2}-2.301943{col 28}{space 2} 1.913971{col 39}{space 1}   -1.20{col 48}{space 3}0.230{col 56}{space 4}-6.070212{col 69}{space 3} 1.466326
{txt}{space 7}votegov {c |}{col 16}{res}{space 2}-4.054685{col 28}{space 2} 2.979345{col 39}{space 1}   -1.36{col 48}{space 3}0.175{col 56}{space 4}-9.920485{col 69}{space 3} 1.811115
{txt}{space 6}trustgov {c |}{col 16}{res}{space 2} 2.774138{col 28}{space 2} 1.104872{col 39}{space 1}    2.51{col 48}{space 3}0.013{col 56}{space 4}  .598843{col 69}{space 3} 4.949434
{txt}{space 5}main_iran {c |}{col 16}{res}{space 2} 1.501831{col 28}{space 2} 1.340381{col 39}{space 1}    1.12{col 48}{space 3}0.264{col 56}{space 4}-1.137141{col 69}{space 3} 4.140802
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 4.168659{col 28}{space 2} 9.897431{col 39}{space 1}    0.42{col 48}{space 3}0.674{col 56}{space 4}-15.31762{col 69}{space 3} 23.65494
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Construction of Non-Violent Self-Discipline Index
. 
. factor harsharrest beating gas rubberbullets killing
{txt}(obs=301)

Factor analysis/correlation{col 50}Number of obs    = {res}       301
{col 5}{txt}Method: principal factors{col 50}Retained factors =   {res}       2
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       9

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      2.79796      2.56640            1.0451       1.0451
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.23156      0.27751            0.0865       1.1316
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}     -0.04594      0.06187           -0.0172       1.1145
{txt}{col 5}{ralign 11:Factor4}  {c |}{res}     -0.10781      0.09086           -0.0403       1.0742
{txt}{col 5}{ralign 11:Factor5}  {c |}{res}     -0.19867            .           -0.0742       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}10{txt}) ={res}  725.41{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:harsharrest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7686}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2308}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3560}}}{space 1}
{space 4}{space 0}{ralign 12:beating}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7835}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2539}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3217}}}{space 1}
{space 4}{space 0}{ralign 12:gas}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7597}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0545}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4198}}}{space 1}
{space 4}{space 0}{ralign 12:rubberbull~s}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7355}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2263}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4077}}}{space 1}
{space 4}{space 0}{ralign 12:killing}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6893}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2443}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4652}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. 
. *Manuscript Table 2 Robustness Checks
. 
. reg alphaviolencejust endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(25, 265)        =  {res}     3.24
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1982
                                                {txt}Root MSE          =    {res} .53725

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}alphaviolence~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}endurance {c |}{col 17}{res}{space 2} .1398491{col 29}{space 2} .0570969{col 40}{space 1}    2.45{col 49}{space 3}0.015{col 57}{space 4} .0274278{col 70}{space 3} .2522703
{txt}{space 4}protestdays {c |}{col 17}{res}{space 2} .0082985{col 29}{space 2} .0032655{col 40}{space 1}    2.54{col 49}{space 3}0.012{col 57}{space 4} .0018688{col 70}{space 3} .0147282
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1381566{col 29}{space 2} .0370083{col 40}{space 1}    3.73{col 49}{space 3}0.000{col 57}{space 4} .0652889{col 70}{space 3} .2110244
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .0885292{col 29}{space 2} .0748867{col 40}{space 1}    1.18{col 49}{space 3}0.238{col 57}{space 4}-.0589193{col 70}{space 3} .2359777
{txt}revclosebaghdad {c |}{col 17}{res}{space 2}-.0700032{col 29}{space 2} .0582493{col 40}{space 1}   -1.20{col 49}{space 3}0.231{col 57}{space 4}-.1846936{col 70}{space 3} .0446872
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2}-.6576434{col 29}{space 2} .2575356{col 40}{space 1}   -2.55{col 49}{space 3}0.011{col 57}{space 4} -1.16472{col 70}{space 3}-.1505672
{txt}{space 8}injured {c |}{col 17}{res}{space 2}-.6913867{col 29}{space 2} .2690686{col 40}{space 1}   -2.57{col 49}{space 3}0.011{col 57}{space 4}-1.221171{col 70}{space 3}-.1616024
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2}-.7724539{col 29}{space 2} .2619534{col 40}{space 1}   -2.95{col 49}{space 3}0.003{col 57}{space 4}-1.288229{col 70}{space 3}-.2566792
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0327993{col 29}{space 2} .0814972{col 40}{space 1}   -0.40{col 49}{space 3}0.688{col 57}{space 4}-.1932638{col 70}{space 3} .1276652
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0019368{col 29}{space 2} .0064683{col 40}{space 1}    0.30{col 49}{space 3}0.765{col 57}{space 4} -.010799{col 70}{space 3} .0146725
{txt}{space 6}education {c |}{col 17}{res}{space 2} .0642097{col 29}{space 2} .0892304{col 40}{space 1}    0.72{col 49}{space 3}0.472{col 57}{space 4} -.111481{col 70}{space 3} .2399005
{txt}{space 8}student {c |}{col 17}{res}{space 2} .1514413{col 29}{space 2} .1112009{col 40}{space 1}    1.36{col 49}{space 3}0.174{col 57}{space 4}-.0675084{col 70}{space 3}  .370391
{txt}{space 8}laborer {c |}{col 17}{res}{space 2} .2158639{col 29}{space 2} .1339182{col 40}{space 1}    1.61{col 49}{space 3}0.108{col 57}{space 4}-.0478152{col 70}{space 3} .4795431
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}  .117678{col 29}{space 2} .1477721{col 40}{space 1}    0.80{col 49}{space 3}0.427{col 57}{space 4}-.1732789{col 70}{space 3} .4086349
{txt}{space 9}income {c |}{col 17}{res}{space 2} .0509961{col 29}{space 2} .0565795{col 40}{space 1}    0.90{col 49}{space 3}0.368{col 57}{space 4}-.0604065{col 70}{space 3} .1623986
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .1678356{col 29}{space 2} .0668503{col 40}{space 1}    2.51{col 49}{space 3}0.013{col 57}{space 4} .0362103{col 70}{space 3} .2994609
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.0773509{col 29}{space 2}   .06114{col 40}{space 1}   -1.27{col 49}{space 3}0.207{col 57}{space 4}-.1977329{col 70}{space 3}  .043031
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.2508139{col 29}{space 2} .1516514{col 40}{space 1}   -1.65{col 49}{space 3}0.099{col 57}{space 4}-.5494089{col 70}{space 3} .0477811
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2} .0787921{col 29}{space 2} .1039463{col 40}{space 1}    0.76{col 49}{space 3}0.449{col 57}{space 4}-.1258736{col 70}{space 3} .2834579
{txt}{space 10}party {c |}{col 17}{res}{space 2} .0438592{col 29}{space 2}  .079091{col 40}{space 1}    0.55{col 49}{space 3}0.580{col 57}{space 4}-.1118675{col 70}{space 3} .1995859
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1124486{col 29}{space 2} .0823545{col 40}{space 1}    1.37{col 49}{space 3}0.173{col 57}{space 4}-.0497038{col 70}{space 3} .2746011
{txt}{space 7}security {c |}{col 17}{res}{space 2}-.1809321{col 29}{space 2} .1283342{col 40}{space 1}   -1.41{col 49}{space 3}0.160{col 57}{space 4}-.4336166{col 70}{space 3} .0717524
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0598348{col 29}{space 2} .1163777{col 40}{space 1}   -0.51{col 49}{space 3}0.608{col 57}{space 4}-.2889775{col 70}{space 3} .1693078
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2}-.0018613{col 29}{space 2} .0618496{col 40}{space 1}   -0.03{col 49}{space 3}0.976{col 57}{space 4}-.1236404{col 70}{space 3} .1199178
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.1259844{col 29}{space 2} .0748056{col 40}{space 1}   -1.68{col 49}{space 3}0.093{col 57}{space 4}-.2732734{col 70}{space 3} .0213047
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 3.087654{col 29}{space 2} .6660963{col 40}{space 1}    4.64{col 49}{space 3}0.000{col 57}{space 4} 1.776139{col 70}{space 3} 4.399168
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. vif 

{txt}    Variable {c |}       VIF       1/VIF  
{hline 13}{c +}{hline 22}
{space 1}sawviolence {c |} {res}     7.97    0.125410
{txt}friendsinj~d {c |} {res}     6.55    0.152720
{txt}{space 5}injured {c |} {res}     4.43    0.225822
{txt}{space 5}student {c |} {res}     3.14    0.318880
{txt}{space 5}laborer {c |} {res}     2.37    0.422808
{txt}{space 9}age {c |} {res}     2.18    0.459293
{txt}{space 2}unemployed {c |} {res}     2.12    0.471700
{txt}sectarianism {c |} {res}     1.81    0.552534
{txt}{space 3}education {c |} {res}     1.78    0.560669
{txt}{space 7}sunni {c |} {res}     1.76    0.568406
{txt}{space 1}pastprotest {c |} {res}     1.67    0.600393
{txt}{space 1}protestdays {c |} {res}     1.61    0.621128
{txt}{space 6}mosque {c |} {res}     1.58    0.632430
{txt}{space 5}votegov {c |} {res}     1.52    0.655964
{txt}{space 3}endurance {c |} {res}     1.44    0.693759
{txt}{space 7}party {c |} {res}     1.42    0.705789
{txt}{space 6}polorg {c |} {res}     1.38    0.726897
{txt}{space 3}main_iran {c |} {res}     1.31    0.762377
{txt}religiousg~p {c |} {res}     1.30    0.769244
{txt}{space 6}income {c |} {res}     1.28    0.780704
{txt}{space 6}female {c |} {res}     1.28    0.781433
{txt}{space 4}trustgov {c |} {res}     1.25    0.798997
{txt}{space 4}security {c |} {res}     1.23    0.810749
{txt}{space 1}socialmedia {c |} {res}     1.23    0.814718
{txt}revcloseba~d {c |} {res}     1.23    0.814933
{txt}{hline 13}{c +}{hline 22}
    Mean VIF {c |} {res}     2.19
{txt}
{com}. 
. reg alphaviolencejust endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, cluster(locale)

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}{help j_robustsingular:F(6, 7) }          =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1982
                                                {txt}Root MSE          =    {res} .53725

{txt}{ralign 81:(Std. Err. adjusted for {res:8} clusters in locale)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}alphaviolence~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}endurance {c |}{col 17}{res}{space 2} .1398491{col 29}{space 2} .0381455{col 40}{space 1}    3.67{col 49}{space 3}0.008{col 57}{space 4} .0496493{col 70}{space 3} .2300489
{txt}{space 4}protestdays {c |}{col 17}{res}{space 2} .0082985{col 29}{space 2} .0045161{col 40}{space 1}    1.84{col 49}{space 3}0.109{col 57}{space 4}-.0023804{col 70}{space 3} .0189774
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1381566{col 29}{space 2} .0429553{col 40}{space 1}    3.22{col 49}{space 3}0.015{col 57}{space 4} .0365834{col 70}{space 3} .2397299
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .0885292{col 29}{space 2} .0740388{col 40}{space 1}    1.20{col 49}{space 3}0.271{col 57}{space 4}-.0865447{col 70}{space 3} .2636031
{txt}revclosebaghdad {c |}{col 17}{res}{space 2}-.0700032{col 29}{space 2} .0883866{col 40}{space 1}   -0.79{col 49}{space 3}0.454{col 57}{space 4}-.2790042{col 70}{space 3} .1389979
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2}-.6576434{col 29}{space 2} .2017065{col 40}{space 1}   -3.26{col 49}{space 3}0.014{col 57}{space 4}-1.134604{col 70}{space 3}-.1806833
{txt}{space 8}injured {c |}{col 17}{res}{space 2}-.6913867{col 29}{space 2} .2024924{col 40}{space 1}   -3.41{col 49}{space 3}0.011{col 57}{space 4}-1.170205{col 70}{space 3}-.2125682
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2}-.7724539{col 29}{space 2} .2464534{col 40}{space 1}   -3.13{col 49}{space 3}0.017{col 57}{space 4}-1.355224{col 70}{space 3}-.1896842
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0327993{col 29}{space 2} .0371829{col 40}{space 1}   -0.88{col 49}{space 3}0.407{col 57}{space 4} -.120723{col 70}{space 3} .0551244
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0019368{col 29}{space 2} .0045572{col 40}{space 1}    0.42{col 49}{space 3}0.684{col 57}{space 4}-.0088392{col 70}{space 3} .0127127
{txt}{space 6}education {c |}{col 17}{res}{space 2} .0642097{col 29}{space 2} .0232273{col 40}{space 1}    2.76{col 49}{space 3}0.028{col 57}{space 4}  .009286{col 70}{space 3} .1191335
{txt}{space 8}student {c |}{col 17}{res}{space 2} .1514413{col 29}{space 2} .0724423{col 40}{space 1}    2.09{col 49}{space 3}0.075{col 57}{space 4}-.0198576{col 70}{space 3} .3227403
{txt}{space 8}laborer {c |}{col 17}{res}{space 2} .2158639{col 29}{space 2} .0741886{col 40}{space 1}    2.91{col 49}{space 3}0.023{col 57}{space 4} .0404357{col 70}{space 3} .3912922
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}  .117678{col 29}{space 2} .1672596{col 40}{space 1}    0.70{col 49}{space 3}0.504{col 57}{space 4}-.2778282{col 70}{space 3} .5131842
{txt}{space 9}income {c |}{col 17}{res}{space 2} .0509961{col 29}{space 2} .0697355{col 40}{space 1}    0.73{col 49}{space 3}0.488{col 57}{space 4}-.1139023{col 70}{space 3} .2158944
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .1678356{col 29}{space 2}   .10139{col 40}{space 1}    1.66{col 49}{space 3}0.142{col 57}{space 4}-.0719136{col 70}{space 3} .4075847
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.0773509{col 29}{space 2}  .105261{col 40}{space 1}   -0.73{col 49}{space 3}0.486{col 57}{space 4}-.3262535{col 70}{space 3} .1715517
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.2508139{col 29}{space 2} .1301087{col 40}{space 1}   -1.93{col 49}{space 3}0.095{col 57}{space 4}-.5584722{col 70}{space 3} .0568443
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2} .0787921{col 29}{space 2} .1171422{col 40}{space 1}    0.67{col 49}{space 3}0.523{col 57}{space 4}-.1982051{col 70}{space 3} .3557894
{txt}{space 10}party {c |}{col 17}{res}{space 2} .0438592{col 29}{space 2} .0679414{col 40}{space 1}    0.65{col 49}{space 3}0.539{col 57}{space 4}-.1167966{col 70}{space 3} .2045151
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1124486{col 29}{space 2} .0580147{col 40}{space 1}    1.94{col 49}{space 3}0.094{col 57}{space 4}-.0247344{col 70}{space 3} .2496317
{txt}{space 7}security {c |}{col 17}{res}{space 2}-.1809321{col 29}{space 2} .1327617{col 40}{space 1}   -1.36{col 49}{space 3}0.215{col 57}{space 4}-.4948636{col 70}{space 3} .1329995
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0598348{col 29}{space 2} .0887179{col 40}{space 1}   -0.67{col 49}{space 3}0.522{col 57}{space 4}-.2696194{col 70}{space 3} .1499498
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2}-.0018613{col 29}{space 2} .0679029{col 40}{space 1}   -0.03{col 49}{space 3}0.979{col 57}{space 4}-.1624262{col 70}{space 3} .1587036
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.1259844{col 29}{space 2}  .057524{col 40}{space 1}   -2.19{col 49}{space 3}0.065{col 57}{space 4}-.2620069{col 70}{space 3} .0100382
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 3.087654{col 29}{space 2} .6353532{col 40}{space 1}    4.86{col 49}{space 3}0.002{col 57}{space 4} 1.585282{col 70}{space 3} 4.590025
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. xtset locale
{txt}{col 8}panel variable:  {res}locale (unbalanced)
{txt}
{com}. 
. xtreg alphaviolencejust endurance protestdays pastprotest socialmedia revclosebaghdad sawviolence injured friendsinjured female age education student laborer unemployed income sunni sectarianism mosque religiousgroup party polorg security votegov trustgov main_iran, cluster(locale)
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}       291
{txt}Group variable: {res}locale                          {txt}Number of groups  = {res}         8

{txt}R-sq:                                           Obs per group:
     within  = {res}0.1444                                         {txt}min = {res}        15
{txt}     between = {res}0.6841                                         {txt}avg = {res}      36.4
{txt}     overall = {res}0.1982                                         {txt}max = {res}       107

                                                {txt}{help j_robustsingular##|_new:Wald chi2(7)}{col 67}={col 70}{res}        .
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}     .

{txt}{ralign 81:(Std. Err. adjusted for {res:8} clusters in locale)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}alphaviolence~t{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}endurance {c |}{col 17}{res}{space 2} .1398491{col 29}{space 2} .0381455{col 40}{space 1}    3.67{col 49}{space 3}0.000{col 57}{space 4} .0650852{col 70}{space 3} .2146129
{txt}{space 4}protestdays {c |}{col 17}{res}{space 2} .0082985{col 29}{space 2} .0045161{col 40}{space 1}    1.84{col 49}{space 3}0.066{col 57}{space 4}-.0005529{col 70}{space 3} .0171499
{txt}{space 4}pastprotest {c |}{col 17}{res}{space 2} .1381566{col 29}{space 2} .0429553{col 40}{space 1}    3.22{col 49}{space 3}0.001{col 57}{space 4} .0539657{col 70}{space 3} .2223475
{txt}{space 4}socialmedia {c |}{col 17}{res}{space 2} .0885292{col 29}{space 2} .0740388{col 40}{space 1}    1.20{col 49}{space 3}0.232{col 57}{space 4}-.0565841{col 70}{space 3} .2336425
{txt}revclosebaghdad {c |}{col 17}{res}{space 2}-.0700032{col 29}{space 2} .0883866{col 40}{space 1}   -0.79{col 49}{space 3}0.428{col 57}{space 4}-.2432377{col 70}{space 3} .1032314
{txt}{space 4}sawviolence {c |}{col 17}{res}{space 2}-.6576434{col 29}{space 2} .2017065{col 40}{space 1}   -3.26{col 49}{space 3}0.001{col 57}{space 4}-1.052981{col 70}{space 3}-.2623059
{txt}{space 8}injured {c |}{col 17}{res}{space 2}-.6913867{col 29}{space 2} .2024924{col 40}{space 1}   -3.41{col 49}{space 3}0.001{col 57}{space 4}-1.088265{col 70}{space 3}-.2945088
{txt}{space 1}friendsinjured {c |}{col 17}{res}{space 2}-.7724539{col 29}{space 2} .2464534{col 40}{space 1}   -3.13{col 49}{space 3}0.002{col 57}{space 4}-1.255494{col 70}{space 3}-.2894141
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0327993{col 29}{space 2} .0371829{col 40}{space 1}   -0.88{col 49}{space 3}0.378{col 57}{space 4}-.1056765{col 70}{space 3} .0400779
{txt}{space 12}age {c |}{col 17}{res}{space 2} .0019368{col 29}{space 2} .0045572{col 40}{space 1}    0.42{col 49}{space 3}0.671{col 57}{space 4}-.0069951{col 70}{space 3} .0108686
{txt}{space 6}education {c |}{col 17}{res}{space 2} .0642097{col 29}{space 2} .0232273{col 40}{space 1}    2.76{col 49}{space 3}0.006{col 57}{space 4} .0186851{col 70}{space 3} .1097343
{txt}{space 8}student {c |}{col 17}{res}{space 2} .1514413{col 29}{space 2} .0724423{col 40}{space 1}    2.09{col 49}{space 3}0.037{col 57}{space 4} .0094569{col 70}{space 3} .2934257
{txt}{space 8}laborer {c |}{col 17}{res}{space 2} .2158639{col 29}{space 2} .0741886{col 40}{space 1}    2.91{col 49}{space 3}0.004{col 57}{space 4} .0704569{col 70}{space 3}  .361271
{txt}{space 5}unemployed {c |}{col 17}{res}{space 2}  .117678{col 29}{space 2} .1672596{col 40}{space 1}    0.70{col 49}{space 3}0.482{col 57}{space 4}-.2101448{col 70}{space 3} .4455009
{txt}{space 9}income {c |}{col 17}{res}{space 2} .0509961{col 29}{space 2} .0697355{col 40}{space 1}    0.73{col 49}{space 3}0.465{col 57}{space 4}-.0856831{col 70}{space 3} .1876752
{txt}{space 10}sunni {c |}{col 17}{res}{space 2} .1678356{col 29}{space 2}   .10139{col 40}{space 1}    1.66{col 49}{space 3}0.098{col 57}{space 4}-.0308851{col 70}{space 3} .3665562
{txt}{space 3}sectarianism {c |}{col 17}{res}{space 2}-.0773509{col 29}{space 2}  .105261{col 40}{space 1}   -0.73{col 49}{space 3}0.462{col 57}{space 4}-.2836586{col 70}{space 3} .1289568
{txt}{space 9}mosque {c |}{col 17}{res}{space 2}-.2508139{col 29}{space 2} .1301087{col 40}{space 1}   -1.93{col 49}{space 3}0.054{col 57}{space 4}-.5058224{col 70}{space 3} .0041945
{txt}{space 1}religiousgroup {c |}{col 17}{res}{space 2} .0787921{col 29}{space 2} .1171422{col 40}{space 1}    0.67{col 49}{space 3}0.501{col 57}{space 4}-.1508023{col 70}{space 3} .3083866
{txt}{space 10}party {c |}{col 17}{res}{space 2} .0438592{col 29}{space 2} .0679414{col 40}{space 1}    0.65{col 49}{space 3}0.519{col 57}{space 4}-.0893034{col 70}{space 3} .1770219
{txt}{space 9}polorg {c |}{col 17}{res}{space 2} .1124486{col 29}{space 2} .0580147{col 40}{space 1}    1.94{col 49}{space 3}0.053{col 57}{space 4}-.0012582{col 70}{space 3} .2261554
{txt}{space 7}security {c |}{col 17}{res}{space 2}-.1809321{col 29}{space 2} .1327617{col 40}{space 1}   -1.36{col 49}{space 3}0.173{col 57}{space 4}-.4411403{col 70}{space 3} .0792761
{txt}{space 8}votegov {c |}{col 17}{res}{space 2}-.0598348{col 29}{space 2} .0887179{col 40}{space 1}   -0.67{col 49}{space 3}0.500{col 57}{space 4}-.2337188{col 70}{space 3} .1140491
{txt}{space 7}trustgov {c |}{col 17}{res}{space 2}-.0018613{col 29}{space 2} .0679029{col 40}{space 1}   -0.03{col 49}{space 3}0.978{col 57}{space 4}-.1349486{col 70}{space 3}  .131226
{txt}{space 6}main_iran {c |}{col 17}{res}{space 2}-.1259844{col 29}{space 2}  .057524{col 40}{space 1}   -2.19{col 49}{space 3}0.029{col 57}{space 4}-.2387293{col 70}{space 3}-.0132394
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 3.087654{col 29}{space 2} .6353532{col 40}{space 1}    4.86{col 49}{space 3}0.000{col 57}{space 4} 1.842384{col 70}{space 3} 4.332923
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res}         0
        {txt}sigma_e {c |} {res} .50205441
            {txt}rho {c |} {res}         0{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

{com}. 
. *Manuscript Table 2 Robustness Checks
. 
. reg everyone version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}    39.21
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2251
                                                {txt}Root MSE          =    {res}  .9172

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.3253024{col 35}{space 2} .1584667{col 46}{space 1}   -2.05{col 55}{space 3}0.041{col 63}{space 4}-.6372067{col 76}{space 3}-.0133981
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}  .034505{col 35}{space 2}  .005855{col 46}{space 1}    5.89{col 55}{space 3}0.000{col 63}{space 4} .0229809{col 76}{space 3} .0460292
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0153473{col 35}{space 2} .0081315{col 46}{space 1}    1.89{col 55}{space 3}0.060{col 63}{space 4}-.0006577{col 76}{space 3} .0313523
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 1.669679{col 35}{space 2} .1227176{col 46}{space 1}   13.61{col 55}{space 3}0.000{col 63}{space 4} 1.428138{col 76}{space 3} 1.911219
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. oprobit everyone version##c.protestdays, robust

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-381.54889}  
Iteration 1:{space 3}log pseudolikelihood = {res:  -348.524}  
Iteration 2:{space 3}log pseudolikelihood = {res:-348.46093}  
Iteration 3:{space 3}log pseudolikelihood = {res:-348.46093}  
{res}
{txt}Ordered probit regression{col 49}Number of obs{col 67}= {res}       291
{txt}{col 49}Wald chi2({res}3{txt}){col 67}= {res}     68.09
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-348.46093{txt}{col 49}Pseudo R2{col 67}= {res}    0.0867

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.4039728{col 35}{space 2} .2181685{col 46}{space 1}   -1.85{col 55}{space 3}0.064{col 63}{space 4}-.8315752{col 76}{space 3} .0236296
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0388846{col 35}{space 2} .0082192{col 46}{space 1}    4.73{col 55}{space 3}0.000{col 63}{space 4} .0227753{col 76}{space 3} .0549939
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0206488{col 35}{space 2}  .011956{col 46}{space 1}    1.73{col 55}{space 3}0.084{col 63}{space 4}-.0027844{col 76}{space 3} .0440821
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 16}/cut1 {c |}{col 23}{res}{space 2}-.0687413{col 35}{space 2} .1623217{col 63}{space 4}-.3868861{col 76}{space 3} .2494034
{txt}{space 16}/cut2 {c |}{col 23}{res}{space 2} 1.091952{col 35}{space 2} .1682773{col 63}{space 4} .7621348{col 76}{space 3}  1.42177
{txt}{space 16}/cut3 {c |}{col 23}{res}{space 2} 1.695444{col 35}{space 2} .1664237{col 63}{space 4} 1.369259{col 76}{space 3} 2.021628
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. reg everyone version##c.protestdays alphaviolencejust, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(4, 286)         =  {res}    33.84
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2495
                                                {txt}Root MSE          =    {res} .90419

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.2742732{col 35}{space 2} .1614339{col 46}{space 1}   -1.70{col 55}{space 3}0.090{col 63}{space 4}-.5920225{col 76}{space 3} .0434761
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0345884{col 35}{space 2} .0059893{col 46}{space 1}    5.78{col 55}{space 3}0.000{col 63}{space 4} .0227998{col 76}{space 3}  .046377
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0118027{col 35}{space 2} .0081968{col 46}{space 1}    1.44{col 55}{space 3}0.151{col 63}{space 4} -.004331{col 76}{space 3} .0279365
{txt}{space 21} {c |}
{space 4}alphaviolencejust {c |}{col 23}{res}{space 2} .2864571{col 35}{space 2} .0870099{col 46}{space 1}    3.29{col 55}{space 3}0.001{col 63}{space 4} .1151962{col 76}{space 3}  .457718
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} .7182089{col 35}{space 2} .3168406{col 46}{space 1}    2.27{col 55}{space 3}0.024{col 63}{space 4} .0945737{col 76}{space 3} 1.341844
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. oprobit everyone version##c.protestdays alphaviolencejust, robust

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-381.54889}  
Iteration 1:{space 3}log pseudolikelihood = {res:-344.78031}  
Iteration 2:{space 3}log pseudolikelihood = {res:-344.69124}  
Iteration 3:{space 3}log pseudolikelihood = {res:-344.69124}  
{res}
{txt}Ordered probit regression{col 49}Number of obs{col 67}= {res}       291
{txt}{col 49}Wald chi2({res}4{txt}){col 67}= {res}     78.24
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-344.69124{txt}{col 49}Pseudo R2{col 67}= {res}    0.0966

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.3607224{col 35}{space 2} .2210095{col 46}{space 1}   -1.63{col 55}{space 3}0.103{col 63}{space 4}-.7938931{col 76}{space 3} .0724483
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0390834{col 35}{space 2}  .008242{col 46}{space 1}    4.74{col 55}{space 3}0.000{col 63}{space 4} .0229294{col 76}{space 3} .0552374
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0175109{col 35}{space 2} .0119437{col 46}{space 1}    1.47{col 55}{space 3}0.143{col 63}{space 4}-.0058983{col 76}{space 3} .0409201
{txt}{space 21} {c |}
{space 4}alphaviolencejust {c |}{col 23}{res}{space 2} .3196754{col 35}{space 2} .1144817{col 46}{space 1}    2.79{col 55}{space 3}0.005{col 63}{space 4} .0952955{col 76}{space 3} .5440554
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 16}/cut1 {c |}{col 23}{res}{space 2}  .982032{col 35}{space 2} .4222998{col 63}{space 4} .1543395{col 76}{space 3} 1.809724
{txt}{space 16}/cut2 {c |}{col 23}{res}{space 2} 2.158748{col 35}{space 2} .4219801{col 63}{space 4} 1.331682{col 76}{space 3} 2.985814
{txt}{space 16}/cut3 {c |}{col 23}{res}{space 2} 2.779859{col 35}{space 2} .4232189{col 63}{space 4} 1.950365{col 76}{space 3} 3.609352
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *Balance Tests Across Treatment Groups
. 
. ksmirnov female, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0706    0.472
{txt} Combined K-S:     {res}  0.0706    0.847

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov age, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0351    0.830
{txt} 2:                {res} -0.1272    0.088
{txt} Combined K-S:     {res}  0.1272    0.175

{txt}Note: Ties exist in combined dataset;
      there are 34 unique values out of 301 observations.

{com}. ksmirnov education, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0774    0.406
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0774    0.758

{txt}Note: Ties exist in combined dataset;
      there are 3 unique values out of 301 observations.

{com}. ksmirnov professional, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0248    0.912
{txt} Combined K-S:     {res}  0.0248    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov student, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.1417    0.049
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1417    0.098

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov unemployed, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0851    0.336
{txt} Combined K-S:     {res}  0.0851    0.647

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov income, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.1581    0.023
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.1581    0.046

{txt}Note: Ties exist in combined dataset;
      there are 4 unique values out of 301 observations.

{com}. ksmirnov religion, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0134    0.973
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0134    1.000

{txt}Note: Ties exist in combined dataset;
      there are 3 unique values out of 301 observations.

{com}. ksmirnov sawviolence, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0290    0.881
{txt} Combined K-S:     {res}  0.0290    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov injured, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0275    0.892
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0275    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov friendsinjured, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0383    0.802
{txt} Combined K-S:     {res}  0.0383    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov mosque, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0259    0.904
{txt} Combined K-S:     {res}  0.0259    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov religiousgroup, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0062    0.994
{txt} Combined K-S:     {res}  0.0062    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov party, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0392    0.794
{txt} Combined K-S:     {res}  0.0392    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov polorg, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0211    0.935
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0211    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov security, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0392    0.793
{txt} Combined K-S:     {res}  0.0392    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov union, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0696    0.483
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0696    0.859

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov votegov, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0128    0.976
{txt} 2:                {res}  0.0000    1.000
{txt} Combined K-S:     {res}  0.0128    1.000

{txt}Note: Ties exist in combined dataset;
      there are 2 unique values out of 301 observations.

{com}. ksmirnov trustgov, by(version)

{txt}Two-sample Kolmogorov-Smirnov test for equality of distribution functions

 Smaller group       D       P-value  
 {hline 35}
 1:                {res}  0.0000    1.000
{txt} 2:                {res} -0.0534    0.651
{txt} Combined K-S:     {res}  0.0534    0.983

{txt}Note: Ties exist in combined dataset;
      there are 4 unique values out of 301 observations.

{com}. 
. reg everyone version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}    39.21
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2251
                                                {txt}Root MSE          =    {res}  .9172

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.3253024{col 35}{space 2} .1584667{col 46}{space 1}   -2.05{col 55}{space 3}0.041{col 63}{space 4}-.6372067{col 76}{space 3}-.0133981
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}  .034505{col 35}{space 2}  .005855{col 46}{space 1}    5.89{col 55}{space 3}0.000{col 63}{space 4} .0229809{col 76}{space 3} .0460292
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0153473{col 35}{space 2} .0081315{col 46}{space 1}    1.89{col 55}{space 3}0.060{col 63}{space 4}-.0006577{col 76}{space 3} .0313523
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 1.669679{col 35}{space 2} .1227176{col 46}{space 1}   13.61{col 55}{space 3}0.000{col 63}{space 4} 1.428138{col 76}{space 3} 1.911219
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg everyone version##c.protestdays income, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(4, 286)         =  {res}    44.90
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3321
                                                {txt}Root MSE          =    {res} .85299

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             everyone{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.1795409{col 35}{space 2}  .159683{col 46}{space 1}   -1.12{col 55}{space 3}0.262{col 63}{space 4}-.4938438{col 76}{space 3}  .134762
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0307568{col 35}{space 2} .0061626{col 46}{space 1}    4.99{col 55}{space 3}0.000{col 63}{space 4}  .018627{col 76}{space 3} .0428866
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0137588{col 35}{space 2} .0078527{col 46}{space 1}    1.75{col 55}{space 3}0.081{col 63}{space 4}-.0016976{col 76}{space 3} .0292152
{txt}{space 21} {c |}
{space 15}income {c |}{col 23}{res}{space 2}-.4676098{col 35}{space 2} .0771094{col 46}{space 1}   -6.06{col 55}{space 3}0.000{col 63}{space 4}-.6193836{col 76}{space 3} -.315836
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}  3.11225{col 35}{space 2} .2665547{col 46}{space 1}   11.68{col 55}{space 3}0.000{col 63}{space 4} 2.587592{col 76}{space 3} 3.636908
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Additional Survey Experimental Results and Noteworthy Findings
. 
. *Protester Violence Vignette
. 
. reg revsuccess version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}     8.93
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0661
                                                {txt}Root MSE          =    {res} .83094

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}           revsuccess{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.0892205{col 35}{space 2} .1795104{col 46}{space 1}   -0.50{col 55}{space 3}0.620{col 63}{space 4}-.4425445{col 76}{space 3} .2641035
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}  .016405{col 35}{space 2} .0055695{col 46}{space 1}    2.95{col 55}{space 3}0.003{col 63}{space 4} .0054427{col 76}{space 3} .0273674
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2}  .005263{col 35}{space 2} .0075569{col 46}{space 1}    0.70{col 55}{space 3}0.487{col 63}{space 4}-.0096109{col 76}{space 3} .0201369
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 2.965119{col 35}{space 2} .1308762{col 46}{space 1}   22.66{col 55}{space 3}0.000{col 63}{space 4}  2.70752{col 76}{space 3} 3.222718
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg revpublicsupport version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}    28.57
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1870
                                                {txt}Root MSE          =    {res} .74989

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}     revpublicsupport{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2}-.0611635{col 35}{space 2} .1508923{col 46}{space 1}   -0.41{col 55}{space 3}0.686{col 63}{space 4}-.3581595{col 76}{space 3} .2358324
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2} .0245114{col 35}{space 2} .0050383{col 46}{space 1}    4.87{col 55}{space 3}0.000{col 63}{space 4} .0145947{col 76}{space 3} .0344281
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2} .0122967{col 35}{space 2} .0069328{col 46}{space 1}    1.77{col 55}{space 3}0.077{col 63}{space 4} -.001349{col 76}{space 3} .0259424
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 2.094698{col 35}{space 2} .1115596{col 46}{space 1}   18.78{col 55}{space 3}0.000{col 63}{space 4}  1.87512{col 76}{space 3} 2.314277
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Counter-terrorism Law vignette
. 
. graph bar pungovviolence pungovkill punprotesters punsupporters punfighters, over(version) blabel(bar)
{res}{txt}
{com}. 
. reg punprotesters version##c.protestdays, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(3, 287)         =  {res}    13.15
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1164
                                                {txt}Root MSE          =    {res} .79959

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}        punprotesters{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2} .0880218{col 35}{space 2} .1484975{col 46}{space 1}    0.59{col 55}{space 3}0.554{col 63}{space 4}-.2042604{col 76}{space 3}  .380304
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}-.0207028{col 35}{space 2} .0057761{col 46}{space 1}   -3.58{col 55}{space 3}0.000{col 63}{space 4}-.0320716{col 76}{space 3} -.009334
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2}-.0086252{col 35}{space 2} .0081116{col 46}{space 1}   -1.06{col 55}{space 3}0.289{col 63}{space 4}-.0245909{col 76}{space 3} .0073405
{txt}{space 21} {c |}
{space 16}_cons {c |}{col 23}{res}{space 2} 3.126567{col 35}{space 2} .1041024{col 46}{space 1}   30.03{col 55}{space 3}0.000{col 63}{space 4} 2.921666{col 76}{space 3} 3.331468
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg punprotesters version##c.protestdays sawviolence injured friendsinjured, robust

{txt}Linear regression                               Number of obs     = {res}       291
                                                {txt}F(6, 284)         =  {res}     8.97
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1510
                                                {txt}Root MSE          =    {res} .78792

{txt}{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}        punprotesters{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      t{col 55}   P>|t|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}2.version {c |}{col 23}{res}{space 2} .1920118{col 35}{space 2} .1501267{col 46}{space 1}    1.28{col 55}{space 3}0.202{col 63}{space 4}-.1034904{col 76}{space 3}  .487514
{txt}{space 10}protestdays {c |}{col 23}{res}{space 2}  -.01436{col 35}{space 2} .0057701{col 46}{space 1}   -2.49{col 55}{space 3}0.013{col 63}{space 4}-.0257176{col 76}{space 3}-.0030024
{txt}{space 21} {c |}
version#c.protestdays {c |}
{space 19}2  {c |}{col 23}{res}{space 2}-.0159869{col 35}{space 2} .0084285{col 46}{space 1}   -1.90{col 55}{space 3}0.059{col 63}{space 4}-.0325772{col 76}{space 3} .0006033
{txt}{space 21} {c |}
{space 10}sawviolence {c |}{col 23}{res}{space 2}-.8210407{col 35}{space 2} .2274747{col 46}{space 1}   -3.61{col 55}{space 3}0.000{col 63}{space 4}-1.268791{col 76}{space 3}-.3732905
{txt}{space 14}injured {c |}{col 23}{res}{space 2}-.6344963{col 35}{space 2} .2714744{col 46}{space 1}   -2.34{col 55}{space 3}0.020{col 63}{space 4}-1.168853{col 76}{space 3}-.1001391
{txt}{space 7}friendsinjured {c |}{col 23}{res}{space 2}-.6086636{col 35}{space 2} .2373001{col 46}{space 1}   -2.56{col 55}{space 3}0.011{col 63}{space 4}-1.075754{col 76}{space 3}-.1415733
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} 3.786871{col 35}{space 2} .2187795{col 46}{space 1}   17.31{col 55}{space 3}0.000{col 63}{space 4} 3.356236{col 76}{space 3} 4.217506
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *Summary of All Variables
. 
. sum version date locale female age education employment professional student laborer unemployed income religion sunni ethnicity closebaghdad revclosebaghdad dgsunni sectarianism trustgov protestinfo socialmedia pastprotest mosque religiousgroup party polorg security union networks votegov protestdays main_protests main_iran negotiate meetdemands concede endurance sawviolence injured friendsinjured everyone success revsuccess publicsupport  revpublicsupport harsharrest beating gas rubberbullets killing alphaviolencejust  pungovviolence pungovkill punprotesters punsupporters punfighters comfortable s3

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 5}version {c |}{res}        301    1.498339    .5008299          1          2
{txt}{space 8}date {c |}{res}          0
{txt}{space 6}locale {c |}{res}        301    4.598007    1.783591          1          8
{txt}{space 6}female {c |}{res}        301    .3687708    .4832751          0          1
{txt}{space 9}age {c |}{res}        301    29.47508    8.202248         18         65
{txt}{hline 13}{c +}{hline 57}
{space 3}education {c |}{res}        301    3.578073    .6202561          2          4
{txt}{space 2}employment {c |}{res}        301    6.039867    2.918631          1         10
{txt}professional {c |}{res}        301    .2724252    .4459489          0          1
{txt}{space 5}student {c |}{res}        301    .3222591    .4681199          0          1
{txt}{space 5}laborer {c |}{res}        301     .192691    .3950693          0          1
{txt}{hline 13}{c +}{hline 57}
{space 2}unemployed {c |}{res}        301    .1960133    .3976398          0          1
{txt}{space 6}income {c |}{res}        301    3.079734    .7440573          1          4
{txt}{space 4}religion {c |}{res}        301    1.534884    .5381565          1          3
{txt}{space 7}sunni {c |}{res}        301    .4850498    .5006087          0          1
{txt}{space 3}ethnicity {c |}{res}        301    1.116279     .450667          1          4
{txt}{hline 13}{c +}{hline 57}
closebaghdad {c |}{res}        301    1.262458    .4628383          1          3
{txt}revcloseba~d {c |}{res}        301    2.737542    .4628383          1          3
{txt}{space 5}dgsunni {c |}{res}        301    2619.269    626.5467       1200       4000
{txt}sectarianism {c |}{res}        301    .4418605    .4974353          0          1
{txt}{space 4}trustgov {c |}{res}        301    3.451827    .5731535          1          4
{txt}{hline 13}{c +}{hline 57}
{space 1}protestinfo {c |}{res}        301    3.146179    .9373155          1          4
{txt}{space 1}socialmedia {c |}{res}        301     .461794    .4993684          0          1
{txt}{space 1}pastprotest {c |}{res}        301    .6079734    .9656446          0          4
{txt}{space 6}mosque {c |}{res}        301    .0996678    .3000554          0          1
{txt}religiousg~p {c |}{res}        301    .0631229    .2435889          0          1
{txt}{hline 13}{c +}{hline 57}
{space 7}party {c |}{res}        301    .1063123    .3087502          0          1
{txt}{space 6}polorg {c |}{res}        301    .1760797    .3815223          0          1
{txt}{space 4}security {c |}{res}        301    .0996678    .3000554          0          1
{txt}{space 7}union {c |}{res}        301    .4717608    .5000332          0          1
{txt}{space 4}networks {c |}{res}        301    1.016611    .1518436          0          2
{txt}{hline 13}{c +}{hline 57}
{space 5}votegov {c |}{res}        301    .9269103    .2607171          0          1
{txt}{space 1}protestdays {c |}{res}        291    17.29897    11.61316          2         60
{txt}main_prote~s {c |}{res}          0
{txt}{space 3}main_iran {c |}{res}        301    .5016611    .5008299          0          1
{txt}{space 3}negotiate {c |}{res}        301    2.857143    .6451283          1          4
{txt}{hline 13}{c +}{hline 57}
{space 1}meetdemands {c |}{res}        301    2.837209    .6807429          1          4
{txt}{space 5}concede {c |}{res}        301    3.079734    .5890285          1          4
{txt}{space 3}endurance {c |}{res}        301    2.924695    .5159091          1          4
{txt}{space 1}sawviolence {c |}{res}        301     .641196    .4804483          0          1
{txt}{space 5}injured {c |}{res}        301    .1395349    .3470808          0          1
{txt}{hline 13}{c +}{hline 57}
friendsinj~d {c |}{res}        301    .2392027    .4273071          0          1
{txt}{space 4}everyone {c |}{res}        301    2.209302    1.029262          1          4
{txt}{space 5}success {c |}{res}        301    1.757475     .854977          1          4
{txt}{space 2}revsuccess {c |}{res}        301    3.242525     .854977          1          4
{txt}publicsupp~t {c |}{res}        301    2.425249    .8196912          1          4
{txt}{hline 13}{c +}{hline 57}
revpublics~t {c |}{res}        301    2.574751    .8196912          1          4
{txt}{space 1}harsharrest {c |}{res}        301    3.169435    .6591884          1          4
{txt}{space 5}beating {c |}{res}        301    3.122924     .638884          1          4
{txt}{space 9}gas {c |}{res}        301    3.315615    .6952616          1          4
{txt}rubberbull~s {c |}{res}        301    3.478405    .7282619          1          4
{txt}{hline 13}{c +}{hline 57}
{space 5}killing {c |}{res}        301    3.551495     .784117          1          4
{txt}alphaviole~t {c |}{res}        301    3.327575     .565394          1          4
{txt}pungovviol~e {c |}{res}        301    4.568106    .5995938          1          5
{txt}{space 2}pungovkill {c |}{res}        301    4.405316    .7315543          2          5
{txt}punprotest~s {c |}{res}        301    2.760797    .8500537          1          5
{txt}{hline 13}{c +}{hline 57}
punsupport~s {c |}{res}        301    2.385382    .6199346          1          5
{txt}{space 1}punfighters {c |}{res}        301    2.345515    .6001845          1          5
{txt}{space 1}comfortable {c |}{res}        301    1.421927    .6618542          1          4
{txt}{space 10}s3 {c |}{res}        301    1.365449     .515754          1          3
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\swhitt\Desktop\SMS Revision 2\Final Version\SMS replication log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}31 Mar 2022, 10:27:33
{txt}{.-}
{smcl}
{txt}{sf}{ul off}